change 01ai endpoint

This commit is contained in:
GhostXia
2025-03-18 17:19:22 +08:00
parent 03d590415b
commit eb52872b13
2 changed files with 2 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ router.post('/caption-image', async (request, response) => {
}
if (request.body.api === 'zerooneai') {
apiUrl = 'https://api.01.ai/v1/chat/completions';
apiUrl = 'https://api.lingyiwanwu.com/v1/chat/completions';
}
if (request.body.api === 'groq') {