Initial commit: ShellGen CLI tool with LLM backends
This commit is contained in:
19
app/.env.example
Normal file
19
app/.env.example
Normal 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
|
||||||
Reference in New Issue
Block a user