Add configurable default LLM provider and model preferences

Co-authored-by: mblanke <9078342+mblanke@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-03 17:39:37 +00:00
parent c4eaf1718a
commit 91b4697403
4 changed files with 138 additions and 28 deletions

View File

@@ -7,3 +7,10 @@ ANTHROPIC_API_KEY=
# Ollama Configuration
OLLAMA_BASE_URL=http://ollama:11434
# Default LLM Provider and Model
# These are used when no explicit provider/model is specified in API requests
# Can be changed via API: POST /api/llm/preferences
DEFAULT_LLM_PROVIDER=ollama
DEFAULT_LLM_MODEL=llama3.2
# Available providers: ollama, ollama-local, ollama-network, openai, anthropic