diff options
Diffstat (limited to 'internal/config/config.go')
| -rw-r--r-- | internal/config/config.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/internal/config/config.go b/internal/config/config.go index afbd12e..b9454d1 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -64,6 +64,14 @@ type RunnersConfig struct { // the same Anthropic account. Also requires [providers.anthropic].api_key // to be set; Anthropic = true with no configured key has no effect. Anthropic *bool `toml:"anthropic"` + // Google gates the native provider.Provider-backed NativeRunner + // registered under agent type "google" (internal/provider/google). It is + // distinct from Gemini, which gates the Docker/CLI-subprocess + // ContainerRunner for agent type "gemini" — the two are separate + // execution paths (and separate budget buckets), same reasoning as + // Anthropic vs. Claude above. Also requires [providers.google].api_key to + // be set; Google = true with no configured key has no effect. + Google *bool `toml:"google"` } func (r RunnersConfig) ClaudeEnabled() bool { return r.Claude == nil || *r.Claude } @@ -71,6 +79,7 @@ func (r RunnersConfig) GeminiEnabled() bool { return r.Gemini == nil || *r.Ge func (r RunnersConfig) LocalEnabled() bool { return r.Local == nil || *r.Local } func (r RunnersConfig) ContainerEnabled() bool { return r.Container == nil || *r.Container } func (r RunnersConfig) AnthropicEnabled() bool { return r.Anthropic == nil || *r.Anthropic } +func (r RunnersConfig) GoogleEnabled() bool { return r.Google == nil || *r.Google } // ProviderConfig configures a native (or OpenAI-compatible) LLM provider // backend for the multi-provider harness — see docs/api-keys-setup.md. Phase |
