Initial commit: ShellGen CLI tool with LLM backends

This commit is contained in:
2026-01-29 12:41:01 +00:00
parent 7b95292f35
commit 271b26acca

19
app/.env.example Normal file
View File

@@ -0,0 +1,19 @@
# ShellGen Configuration
# Copy this file to .env and modify as needed
# Ollama API endpoint
OLLAMA_HOST=localhost:11434
# Default model to use (codellama, llama2, mistral, etc.)
OLLAMA_MODEL=codellama
# Path to history database
SHELLGEN_HISTORY_PATH=~/.shellgen/history.db
# Path to custom prompt templates
SHELLGEN_TEMPLATES_PATH=~/.shellgen/templates
# Llama.cpp specific settings
LLAMA_CPP_MODEL_PATH=~/.cache/llama-cpp/models/
LLAMA_CPP_N_CTX=2048
LLAMA_CPP_N_THREADS=4