Add configuration files
Some checks failed
CI / test (push) Failing after 5s
CI / lint (push) Successful in 5s
CI / type-check (push) Failing after 6s

This commit is contained in:
2026-02-04 10:57:01 +00:00
parent 9512def760
commit 7faa1a8b5c

35
config.yaml Normal file
View 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