TeamAgent
class TeamAgent(val name: String, val description: String, val model: ChatModel, val tools: List<Tool> = emptyList(), val system: String? = null, val inOrder: Boolean = false, val retry: Retry? = null, val shorten: (List<ChatMessage>) -> List<ChatMessage>? = null)
An agent of a team: what it is good at, and the model, tools and instructions it works with.
Constructors
Properties
Link copied to clipboard
tells the other models of the team what this agent does and when to use it.
Link copied to clipboard
true to run the tool calls of an answer one after the other. See toolLoop. In a handoffTeam they always do.
Link copied to clipboard
returns the part of this agent's conversation its model reads. See toolLoop.