Add Ollama local model provider

This commit is contained in:
2026-03-15 16:24:25 +03:00
parent 6add70fcd2
commit 3df24e27ae
4 changed files with 36 additions and 6 deletions

View File

@@ -27,6 +27,11 @@ ZAI_API_URL=https://api.z.ai/api/paas/v4/chat/completions
ANTHROPIC_MODEL=claude-sonnet-4-20250514
ANTHROPIC_API_URL=https://api.anthropic.com/v1/messages
ANTHROPIC_API_VERSION=2023-06-01
# Ollama (локально; без API key)
# AI_PROVIDER=ollama
OLLAMA_MODEL=llama3.1:8b
OLLAMA_API_URL=http://localhost:11434/v1/chat/completions
DEEPGRAM_API_KEY=your_deepgram_api_key_here
PORCUPINE_ACCESS_KEY=your_porcupine_access_key_here
PORCUPINE_SENSITIVITY=0.8