AgentSkillsSourceContext(AIAgent, AgentSession) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the AgentSkillsSourceContext class.
public AgentSkillsSourceContext(Microsoft.Agents.AI.AIAgent agent, Microsoft.Agents.AI.AgentSession? session);
new Microsoft.Agents.AI.AgentSkillsSourceContext : Microsoft.Agents.AI.AIAgent * Microsoft.Agents.AI.AgentSession -> Microsoft.Agents.AI.AgentSkillsSourceContext
Public Sub New (agent As AIAgent, session As AgentSession)
Parameters
- agent
- AIAgent
The agent requesting skills.
- session
- AgentSession
The session associated with the agent invocation, if any.