MCPcopy
hub / github.com/docker/docker-agent / WithPromptFiles

Function WithPromptFiles

pkg/teamloader/teamloader.go:62–67  ·  view source on GitHub ↗

WithPromptFiles adds additional prompt files to all agents. These are merged with any prompt files defined in the agent config.

(files []string)

Source from the content-addressed store, hash-verified

60// WithPromptFiles adds additional prompt files to all agents.
61// These are merged with any prompt files defined in the agent config.
62func WithPromptFiles(files []string) Opt {
63 return func(opts *loadOptions) error {
64 opts.promptFiles = files
65 return nil
66 }
67}
68
69// WithToolsetRegistry allows using a custom toolset registry instead of the default.
70func WithToolsetRegistry(registry ToolsetRegistry) Opt {

Callers 4

loadAgentFromMethod · 0.92
TestWithPromptFilesFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestWithPromptFilesFunction · 0.68