WithPromptFiles adds additional prompt files to all agents. These are merged with any prompt files defined in the agent config.
(files []string)
| 60 | // WithPromptFiles adds additional prompt files to all agents. |
| 61 | // These are merged with any prompt files defined in the agent config. |
| 62 | func 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. |
| 70 | func WithToolsetRegistry(registry ToolsetRegistry) Opt { |
no outgoing calls