feat(ai): switch from DeepSeek to local Ollama (qwen3:14b)
- Point AI client to localhost:11434/v1 (Ollama) - Remove DeepSeek API key dependency - Update model name to qwen3:14b across all routes - Update test mocks to use createLocalLLMClient - Removes need for DEEPSEEK_API_KEY setting Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,3 +3,7 @@ import OpenAI from 'openai'
|
||||
export function createDeepSeekClient(apiKey: string): OpenAI {
|
||||
return new OpenAI({ apiKey, baseURL: 'https://api.deepseek.com' })
|
||||
}
|
||||
|
||||
export function createLocalLLMClient(): OpenAI {
|
||||
return new OpenAI({ apiKey: 'local', baseURL: 'http://localhost:11434/v1' })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user