on main help sign in
fix(schema): fix schema descriptions being cut off
commitda262be6374f90da2f889cb8edcafe85ace85038 authorKieran Klukas <kieran@dunkirk.sh> dateMon 11 May 2026, 14:02 (5 months ago) parent9d34668
2 files changed+4−4
internal/config/config.go+2−2 schema.json+2−2
internal/config/config.go+2−2
@@ -124,7 +124,7 @@ type ProviderConfig struct {
124124 // driven value at request time, put it in extra_headers, or in
125125 // the provider's top-level api_key / base_url, all of which do
126126 // expand. See PLAN.md Phase 2 design decision #16.
127− ExtraBody map[string]any `json:"extra_body,omitempty" jsonschema:"description=Additional fields to include in request bodies, only works with openai-compatible providers"`
127+ ExtraBody map[string]any `json:"extra_body,omitempty" jsonschema:"description=Additional fields to include in request bodies\\, only works with openai-compatible providers"`
128128
129129 ProviderOptions map[string]any `json:"provider_options,omitempty" jsonschema:"description=Additional provider-specific options for this provider"`
130130
@@ -268,7 +268,7 @@ type Options struct {
268268 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
269269 DisabledTools []string `json:"disabled_tools,omitempty" jsonschema:"description=List of built-in tools to disable and hide from the agent,example=bash,example=sourcegraph"`
270270 DisableProviderAutoUpdate bool `json:"disable_provider_auto_update,omitempty" jsonschema:"description=Disable providers auto-update,default=false"`
271− 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"`
271+ 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"`
272272 Attribution *Attribution `json:"attribution,omitempty" jsonschema:"description=Attribution settings for generated content"`
273273 DisableMetrics bool `json:"disable_metrics,omitempty" jsonschema:"description=Disable sending metrics,default=false"`
274274 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"`
schema.json+2−2
@@ -447,7 +447,7 @@
447447 },
448448 "disable_default_providers": {
449449 "type": "boolean",
450− "description": "Ignore all default/embedded providers. When enabled",
450+ "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",
451451 "default": false
452452 },
453453 "attribution": {
@@ -582,7 +582,7 @@
582582 },
583583 "extra_body": {
584584 "type": "object",
585− "description": "Additional fields to include in request bodies"
585+ "description": "Additional fields to include in request bodies, only works with openai-compatible providers"
586586 },
587587 "provider_options": {
588588 "type": "object",