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)
| 1176 | // agentRouter.ResolveSession; kept on LocalRuntime for the existing callsites |
| 1177 | // in loop.go and elsewhere. |
| 1178 | func (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. |
| 1183 | func (r *LocalRuntime) CurrentAgentSkillsToolset() *skills.ToolSet { |