feat(ai): switch to qwen2.5-coder-8k model

- Use larger coder model (32.8B params) for better reasoning
- Update client default model
- Update all AI routes to use qwen2.5-coder-8k:latest
- Already installed and available on server Ollama

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-01 13:19:41 +08:00
co-authored by Claude Haiku 4.5
parent 0ca92182ff
commit 7424fe4f9b
5 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -5,5 +5,5 @@ export function createDeepSeekClient(apiKey: string): OpenAI {
}
export function createLocalLLMClient(): OpenAI {
return new OpenAI({ apiKey: 'local', baseURL: 'http://localhost:11434/v1' })
return new OpenAI({ apiKey: 'local', baseURL: 'http://localhost:11434/v1', defaultQuery: { model: 'qwen2.5-coder-8k:latest' } })
}