Add AI_PROVIDER and AI_MODEL support
All checks were successful
CI / ci (push) Successful in 9s
Deploy / deploy-local-runner (push) Has been skipped
Deploy / deploy-ssh (push) Successful in 7s
Docker / docker (push) Successful in 6s
Security / security (push) Successful in 7s

This commit is contained in:
2026-03-01 19:56:14 +01:00
parent f3851f9e96
commit 7cc5d26948
8 changed files with 60 additions and 4 deletions

View File

@@ -4,8 +4,11 @@
# LLM Provider Configuration
# --------------------------
# Available providers: openai | openrouter | ollama | anthropic | azure | gemini
# This value can be overridden by setting the AI_PROVIDER Gitea secret.
provider: openai
# The model to use per provider.
# Override the active provider's model by setting the AI_MODEL Gitea secret.
model:
openai: gpt-4.1-mini
openrouter: anthropic/claude-3.5-sonnet