(context.Context)
| 717 | } |
| 718 | |
| 719 | func (r *LocalRuntime) CurrentAgentInfo(context.Context) CurrentAgentInfo { |
| 720 | currentAgent := r.CurrentAgent() |
| 721 | |
| 722 | return CurrentAgentInfo{ |
| 723 | Name: currentAgent.Name(), |
| 724 | Description: currentAgent.Description(), |
| 725 | Commands: currentAgent.Commands(), |
| 726 | } |
| 727 | } |
| 728 | |
| 729 | func (r *LocalRuntime) SetCurrentAgent(_ context.Context, agentName string) error { |
| 730 | return r.agents.SetValidated(agentName) |
nothing calls this directly
no test coverage detected