Uses of Class
com.github.copilot.sdk.json.AgentInfo
Packages that use AgentInfo
Package
Description
Core classes for the GitHub Copilot SDK for Java.
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of AgentInfo in com.github.copilot.sdk
Methods in com.github.copilot.sdk that return types with arguments of type AgentInfoModifier and TypeMethodDescriptionCopilotSession.getCurrentAgent()Gets the currently selected custom agent for this session, ornullif no custom agent is selected.CopilotSession.listAgents()Lists the custom agents available for selection in this session.CopilotSession.selectAgent(String agentName) Selects a custom agent for this session. -
Uses of AgentInfo in com.github.copilot.sdk.json
Methods in com.github.copilot.sdk.json that return AgentInfoModifier and TypeMethodDescriptionAgentInfo.setDescription(String description) Sets the description of the agent's purpose.AgentInfo.setDisplayName(String displayName) Sets the human-readable display name of the agent.Sets the unique identifier of the agent.