- ctrl+o toggles between 10-line truncated and full tool output
- Label shows "ctrl+o to expand" (lowercase)
- Fixed: auto permission mode now sticks — config default was
overriding flag default ("default" → "auto" in config defaults)
23 lines
411 B
Go
23 lines
411 B
Go
package config
|
|
|
|
import "time"
|
|
|
|
func Defaults() Config {
|
|
return Config{
|
|
Provider: ProviderSection{
|
|
Default: "mistral",
|
|
Model: "",
|
|
MaxTokens: 8192,
|
|
APIKeys: make(map[string]string),
|
|
Endpoints: make(map[string]string),
|
|
},
|
|
Permission: PermissionSection{
|
|
Mode: "auto",
|
|
},
|
|
Tools: ToolsSection{
|
|
BashTimeout: Duration(30 * time.Second),
|
|
MaxFileSize: 1 << 20, // 1MB
|
|
},
|
|
}
|
|
}
|