diff --git a/internal/config/config.go b/internal/config/config.go index b7f612a9f28e88e8ff9c6e430c3f471b401ebe57..6b179abebbffe425ab624217ce40cb55ccbf7877 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -124,7 +124,7 @@ type ProviderConfig struct { // driven value at request time, put it in extra_headers, or in // the provider's top-level api_key / base_url, all of which do // expand. See PLAN.md Phase 2 design decision #16. - ExtraBody map[string]any `json:"extra_body,omitempty" jsonschema:"description=Additional fields to include in request bodies, only works with openai-compatible providers"` + ExtraBody map[string]any `json:"extra_body,omitempty" jsonschema:"description=Additional fields to include in request bodies\\, only works with openai-compatible providers"` ProviderOptions map[string]any `json:"provider_options,omitempty" jsonschema:"description=Additional provider-specific options for this provider"` @@ -268,7 +268,7 @@ type Options struct { DataDirectory string `json:"data_directory,omitempty" jsonschema:"description=Directory for storing application data (relative to working directory),default=.crush,example=.crush"` // Relative to the cwd DisabledTools []string `json:"disabled_tools,omitempty" jsonschema:"description=List of built-in tools to disable and hide from the agent,example=bash,example=sourcegraph"` DisableProviderAutoUpdate bool `json:"disable_provider_auto_update,omitempty" jsonschema:"description=Disable providers auto-update,default=false"` - DisableDefaultProviders bool `json:"disable_default_providers,omitempty" jsonschema:"description=Ignore all default/embedded providers. When enabled, providers must be fully specified in the config file with base_url, models, and api_key - no merging with defaults occurs,default=false"` + DisableDefaultProviders bool `json:"disable_default_providers,omitempty" jsonschema:"description=Ignore all default/embedded providers. When enabled\\, providers must be fully specified in the config file with base_url\\, models\\, and api_key - no merging with defaults occurs,default=false"` Attribution *Attribution `json:"attribution,omitempty" jsonschema:"description=Attribution settings for generated content"` DisableMetrics bool `json:"disable_metrics,omitempty" jsonschema:"description=Disable sending metrics,default=false"` InitializeAs string `json:"initialize_as,omitempty" jsonschema:"description=Name of the context file to create/update during project initialization,default=AGENTS.md,example=AGENTS.md,example=CRUSH.md,example=CLAUDE.md,example=docs/LLMs.md"` diff --git a/schema.json b/schema.json index 173d9fdebca8c67e9c25c4d3c4612c901663ad10..8b98269414175422347ae208f34997081cdc6249 100644 --- a/schema.json +++ b/schema.json @@ -447,7 +447,7 @@ }, "disable_default_providers": { "type": "boolean", - "description": "Ignore all default/embedded providers. When enabled", + "description": "Ignore all default/embedded providers. When enabled, providers must be fully specified in the config file with base_url, models, and api_key - no merging with defaults occurs", "default": false }, "attribution": { @@ -582,7 +582,7 @@ }, "extra_body": { "type": "object", - "description": "Additional fields to include in request bodies" + "description": "Additional fields to include in request bodies, only works with openai-compatible providers" }, "provider_options": { "type": "object",