修改gpt,url地址

This commit is contained in:
2026-04-13 10:18:44 +08:00
parent 2518d60951
commit eab3f6c28a
11 changed files with 11 additions and 4 deletions

View File

@@ -140,7 +140,7 @@ export function parseAIResponse(rawResponse: string): AIScoreData {
// ─── FastGPT API Call ─────────────────────────────────────────────────────────
const FASTGPT_API_URL = process.env.FASTGPT_API_URL || 'https://api.fastgpt.in/api/v1/chat/completions';
const FASTGPT_API_URL = process.env.FASTGPT_API_URL || 'https://cloud.fastgpt.cn/api/v1/chat/completions';
const FASTGPT_API_KEY = process.env.FASTGPT_API_KEY || '';
const AI_TIMEOUT_MS = 60_000; // 60秒超时