52 lines
935 B
YAML
52 lines
935 B
YAML
# Local Code Assistant Configuration
|
|
# This is the default configuration file
|
|
|
|
ollama:
|
|
base_url: "http://localhost:11434"
|
|
model: "codellama"
|
|
timeout: 8000
|
|
streaming: true
|
|
|
|
# Default settings for commands
|
|
defaults:
|
|
language: "python"
|
|
temperature: 0.2
|
|
max_tokens: 4000
|
|
output_format: "code"
|
|
|
|
# Supported programming languages
|
|
languages:
|
|
- python
|
|
- javascript
|
|
- typescript
|
|
- go
|
|
- rust
|
|
|
|
# Context settings
|
|
context:
|
|
max_files: 10
|
|
max_file_size: 100000 # bytes
|
|
include_patterns:
|
|
- "**/*.py"
|
|
- "**/*.js"
|
|
- "**/*.ts"
|
|
- "**/*.go"
|
|
- "**/*.rs"
|
|
exclude_patterns:
|
|
- "**/node_modules/**"
|
|
- "**/.git/**"
|
|
- "**/venv/**"
|
|
- "**/.env/**"
|
|
- "**/__pycache__/**"
|
|
- "**/*.pyc"
|
|
|
|
# Output settings
|
|
output:
|
|
clipboard: true
|
|
file_output: true
|
|
syntax_highlighting: true
|
|
|
|
# Logging settings
|
|
logging:
|
|
level: "INFO"
|
|
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s" |