Switch AI model from kimi-k2.5 to qwen/qwen3.5-397b-a17b

kimi-k2.5 is a thinking model that times out on complex prompts (>3min).
qwen3.5-397b-a17b responds in ~2s with clean JSON output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 20:37:48 -05:00
parent 36271585d9
commit fe4989bbcc
2 changed files with 3 additions and 3 deletions

View File

@@ -8,5 +8,5 @@ NODE_ENV=development
# AI Investment Advisor (OpenAI-compatible API)
AI_API_URL=https://integrate.api.nvidia.com/v1
AI_API_KEY=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
AI_MODEL=moonshotai/kimi-k2.5
AI_API_KEY=your_nvidia_api_key_here
AI_MODEL=qwen/qwen3.5-397b-a17b

View File

@@ -402,7 +402,7 @@ Based on this complete financial picture, provide your investment recommendation
private async callAI(messages: Array<{ role: string; content: string }>): Promise<AIResponse> {
const apiUrl = this.configService.get<string>('AI_API_URL') || 'https://integrate.api.nvidia.com/v1';
const apiKey = this.configService.get<string>('AI_API_KEY');
const model = this.configService.get<string>('AI_MODEL') || 'moonshotai/kimi-k2.5';
const model = this.configService.get<string>('AI_MODEL') || 'qwen/qwen3.5-397b-a17b';
if (!apiKey) {
this.logger.error('AI_API_KEY not configured');