Add configuration files
This commit is contained in:
35
config.yaml
Normal file
35
config.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
# Ollama Configuration
|
||||
ollama:
|
||||
host: "localhost:11434"
|
||||
model: "codellama"
|
||||
timeout: 120
|
||||
|
||||
# Safety Settings
|
||||
safety:
|
||||
level: "moderate"
|
||||
warn_on_destructive: true
|
||||
allow_dangerous: false
|
||||
blocked_patterns:
|
||||
- "rm -rf /"
|
||||
- ":(){:|:&};:"
|
||||
- "chmod 777"
|
||||
- "sudo su"
|
||||
- "dd if=/dev/zero"
|
||||
|
||||
# UI Configuration
|
||||
ui:
|
||||
theme: "default"
|
||||
show_syntax_highlighting: true
|
||||
auto_suggest: true
|
||||
max_history: 100
|
||||
|
||||
# Shell Preferences
|
||||
shell:
|
||||
default: "bash"
|
||||
prefer_shebang: true
|
||||
|
||||
# History Learning
|
||||
history:
|
||||
enabled: true
|
||||
storage_path: "~/.config/shellgenius/history.yaml"
|
||||
similarity_threshold: 0.7
|
||||
Reference in New Issue
Block a user