change 01ai endpoint

eb52872b134f10bae6cb89d1f72f4bcb360068e2

GhostXia <33112711+GhostXia@users.noreply.github.com>

2 files changed, +2 -2Ignore whitespace
src/endpoints/backends/chat-completions.js+1 -1
@@ -49,7 +49,7 @@ const API_COHERE_V2 = 'https://api.cohere.ai/v2';
4949const API_PERPLEXITY = 'https://api.perplexity.ai';
5050const API_GROQ = 'https://api.groq.com/openai/v1';
5151const API_MAKERSUITE = 'https://generativelanguage.googleapis.com';
5252const API_01AI = 'https://api.01lingyiwanwu.aicom/v1';
5353const API_BLOCKENTROPY = 'https://api.blockentropy.ai/v1';
5454const API_AI21 = 'https://api.ai21.com/studio/v1';
5555const API_NANOGPT = 'https://nano-gpt.com/api/v1';
src/endpoints/openai.js+1 -1
@@ -116,7 +116,7 @@ router.post('/caption-image', async (request, response) => {
116116 }
117117
118118 if (request.body.api === 'zerooneai') {
119119 apiUrl = 'https://api.01lingyiwanwu.aicom/v1/chat/completions';
120120 }
121121
122122 if (request.body.api === 'groq') {