Class AgentInfo
java.lang.Object
com.github.copilot.rpc.AgentInfo
Represents a custom agent available for selection in a session.
- Since:
- 1.0.11
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the description of the agent's purpose.Gets the human-readable display name of the agent.getModel()Gets the preferred model id for this agent.getName()Gets the unique identifier of the agent.setDescription(String description) Sets the description of the agent's purpose.setDisplayName(String displayName) Sets the human-readable display name of the agent.Sets the preferred model id for this agent.Sets the unique identifier of the agent.
-
Constructor Details
-
AgentInfo
public AgentInfo()
-
-
Method Details
-
getName
-
setName
-
getDisplayName
Gets the human-readable display name of the agent.- Returns:
- the display name
-
setDisplayName
-
getDescription
Gets the description of the agent's purpose.- Returns:
- the description
-
setDescription
-
getModel
Gets the preferred model id for this agent. When omitted, the agent inherits the outer agent's model.- Returns:
- the preferred model id, or
nullif unset
-
setModel
-