From 7faa1a8b5c87004d71a9043827102e260342c94c Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 10:57:01 +0000 Subject: [PATCH] Add configuration files --- config.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 config.yaml diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..844a84f --- /dev/null +++ b/config.yaml @@ -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