MCPcopy Index your code
hub / github.com/docker/docker-agent / resolveSessionAgent

Method resolveSessionAgent

pkg/runtime/runtime.go:1178–1180  ·  view source on GitHub ↗

resolveSessionAgent returns the agent for the given session. Delegates to agentRouter.ResolveSession; kept on LocalRuntime for the existing callsites in loop.go and elsewhere.

(sess *session.Session)

Source from the content-addressed store, hash-verified

1176// agentRouter.ResolveSession; kept on LocalRuntime for the existing callsites
1177// in loop.go and elsewhere.
1178func (r *LocalRuntime) resolveSessionAgent(sess *session.Session) *agent.Agent {
1179 return r.agents.ResolveSession(sess)
1180}
1181
1182// CurrentAgentSkillsToolset returns the skills toolset for the current agent, or nil if not enabled.
1183func (r *LocalRuntime) CurrentAgentSkillsToolset() *skills.ToolSet {

Calls 1

ResolveSessionMethod · 0.80