@@ -20,7 +20,6 @@ import (
21 appName = "crush"
21 appName = "crush"
22 defaultDataDirectory = ".crush"
22 defaultDataDirectory = ".crush"
23− defaultLogLevel = "info"
26var defaultContextPaths = []string{
25var defaultContextPaths = []string{
@@ -244,6 +243,8 @@ type Agent struct {
245// Config holds the configuration for crush.
244// Config holds the configuration for crush.
246type Config struct {
245type Config struct {
246+ Schema string `json:"$schema,omitempty"`
247 // We currently only support large/small as values here.
248 // We currently only support large/small as values here.
248 Models map[SelectedModelType]SelectedModel `json:"models,omitempty" jsonschema:"description=Model configurations for different model types,example={\"large\":{\"model\":\"gpt-4o\",\"provider\":\"openai\"}}"`
249 Models map[SelectedModelType]SelectedModel `json:"models,omitempty" jsonschema:"description=Model configurations for different model types,example={\"large\":{\"model\":\"gpt-4o\",\"provider\":\"openai\"}}"`