fix claude
This commit is contained in:
33
config/default.toml
Normal file
33
config/default.toml
Normal file
@ -0,0 +1,33 @@
|
||||
# ai.shell Configuration
|
||||
|
||||
[server]
|
||||
# MCP Server configuration
|
||||
host = "127.0.0.1"
|
||||
port = 8765
|
||||
protocol = "http" # http or websocket
|
||||
|
||||
[llm]
|
||||
# Ollama configuration
|
||||
ollama_host = "http://localhost:11434"
|
||||
default_model = "qwen2.5-coder:7b"
|
||||
timeout_seconds = 300
|
||||
|
||||
[logging]
|
||||
# Log configuration
|
||||
level = "info" # debug, info, warn, error
|
||||
file = "~/.ai-shell/ai-shell.log"
|
||||
max_size_mb = 10
|
||||
max_backups = 3
|
||||
|
||||
[cli]
|
||||
# CLI behavior
|
||||
history_file = "~/.ai-shell/history"
|
||||
max_history = 1000
|
||||
prompt = "ai> "
|
||||
color_output = true
|
||||
|
||||
[security]
|
||||
# Security settings
|
||||
allowed_commands = ["ls", "cat", "grep", "find", "git", "cargo", "npm", "python"]
|
||||
sandbox_mode = false
|
||||
max_file_size_mb = 50
|
Reference in New Issue
Block a user