associate_agent_collaborator¶
Operation¶
associate_agent_collaborator
async
¶
associate_agent_collaborator(input: AssociateAgentCollaboratorInput, plugins: list[Plugin] | None = None) -> AssociateAgentCollaboratorOutput
Makes an agent a collaborator for another agent.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
AssociateAgentCollaboratorInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
AssociateAgentCollaboratorOutput
|
An instance of |
Input¶
AssociateAgentCollaboratorInput
dataclass
¶
Dataclass for AssociateAgentCollaboratorInput structure.
Attributes¶
agent_descriptor
class-attribute
instance-attribute
¶
agent_descriptor: AgentDescriptor | None = None
The alias of the collaborator agent.
agent_version
class-attribute
instance-attribute
¶
agent_version: str | None = None
An agent version.
collaboration_instruction
class-attribute
instance-attribute
¶
collaboration_instruction: str | None = field(repr=False, default=None)
Instruction for the collaborator.
collaborator_name
class-attribute
instance-attribute
¶
collaborator_name: str | None = None
A name for the collaborator.
relay_conversation_history
class-attribute
instance-attribute
¶
relay_conversation_history: RelayConversationHistory | None = None
A relay conversation history for the collaborator.
Output¶
AssociateAgentCollaboratorOutput
dataclass
¶
Dataclass for AssociateAgentCollaboratorOutput structure.
Attributes¶
agent_collaborator
instance-attribute
¶
agent_collaborator: AgentCollaborator
Details about the collaborator.