Skip to content

Commit 08afe24

Browse files
committed
Fix code
Signed-off-by: David Gageot <david.gageot@docker.com>
1 parent 8788334 commit 08afe24

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

pkg/cli/runner_test.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
"github.com/docker/cagent/pkg/session"
1313
"github.com/docker/cagent/pkg/sessiontitle"
1414
"github.com/docker/cagent/pkg/tools"
15+
"github.com/docker/cagent/pkg/tools/builtin"
1516
mcptools "github.com/docker/cagent/pkg/tools/mcp"
1617
)
1718

@@ -28,10 +29,10 @@ func (m *mockRuntime) CurrentAgentName() string { return "test" }
2829
func (m *mockRuntime) CurrentAgentInfo(context.Context) runtime.CurrentAgentInfo {
2930
return runtime.CurrentAgentInfo{Name: "test"}
3031
}
31-
func (m *mockRuntime) SetCurrentAgent(string) error { return nil }
32-
func (m *mockRuntime) CurrentAgentTools(context.Context) ([]tools.Tool, error) { return nil, nil }
33-
func (m *mockRuntime) EmitStartupInfo(context.Context, chan runtime.Event) {}
34-
func (m *mockRuntime) ResetStartupInfo() {}
32+
func (m *mockRuntime) SetCurrentAgent(string) error { return nil }
33+
func (m *mockRuntime) CurrentAgentTools(context.Context) ([]tools.Tool, error) { return nil, nil }
34+
func (m *mockRuntime) EmitStartupInfo(context.Context, *session.Session, chan runtime.Event) {}
35+
func (m *mockRuntime) ResetStartupInfo() {}
3536
func (m *mockRuntime) Run(context.Context, *session.Session) ([]session.Message, error) {
3637
return nil, nil
3738
}
@@ -42,7 +43,7 @@ func (m *mockRuntime) ResumeElicitation(context.Context, tools.ElicitationAction
4243
func (m *mockRuntime) SessionStore() session.Store { return nil }
4344
func (m *mockRuntime) Summarize(context.Context, *session.Session, string, chan runtime.Event) {}
4445
func (m *mockRuntime) PermissionsInfo() *runtime.PermissionsInfo { return nil }
45-
func (m *mockRuntime) CurrentAgentSkillsEnabled() bool { return false }
46+
func (m *mockRuntime) CurrentAgentSkillsToolset() *builtin.SkillsToolset { return nil }
4647
func (m *mockRuntime) CurrentMCPPrompts(context.Context) map[string]mcptools.PromptInfo {
4748
return nil
4849
}

0 commit comments

Comments
 (0)