-
Notifications
You must be signed in to change notification settings - Fork 548
[Bug] Some keys are missing in config.go #740
Copy link
Copy link
Open
Description
I want to disable global memory.
https://docs.goclaw.sh/configuration says
{
"gateway": { ... }, // HTTP/WS server settings, auth, quotas
"agents": { // Defaults + per-agent overrides
"defaults": { ... },
"list": { ... }
},
"memory": { ... }, // Semantic memory (embedding, retrieval)
"compaction": { ... }, // Context compaction thresholds
"context_pruning": { ... }, // Context pruning policy
"subagents": { ... }, // Subagent concurrency limits
"sandbox": { ... }, // Docker sandbox defaults
"providers": { ... }, // LLM provider API keys
"channels": { ... }, // Messaging channel integrations
"tools": { ... }, // Tool policies, MCP servers
"tts": { ... }, // Text-to-speech
"sessions": { ... }, // Session storage & scoping
"cron": [], // Scheduled tasks
"bindings": {}, // Agent routing by channel/peer
"telemetry": { ... }, // OpenTelemetry export
"tailscale": { ... } // Tailscale/tsnet networking
}
but in source code internal/config/config.go:
type Config struct {
DataDir string `json:"data_dir,omitempty"` // persistent data directory (default: ~/.goclaw/data)
Agents AgentsConfig `json:"agents"`
Channels ChannelsConfig `json:"channels"`
Providers ProvidersConfig `json:"providers"`
Gateway GatewayConfig `json:"gateway"`
Tools ToolsConfig `json:"tools"`
Sessions SessionsConfig `json:"sessions"`
Database DatabaseConfig `json:"database"`
Tts TtsConfig `json:"tts"`
Cron CronConfig `json:"cron"`
Telemetry TelemetryConfig `json:"telemetry"`
Tailscale TailscaleConfig `json:"tailscale"`
Bindings []AgentBinding `json:"bindings,omitempty"`
mu sync.RWMutex
}
memory, compaction, context_pruning, subagents, sandbox are missing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels