Merge pull request #3715 from GhostXia/staging change 01ai endpoint

1122c675e57e123ce2544706c9bd76e2736e6426

Cohee <18619528+Cohee1207@users.noreply.github.com>

Signed
3 files changed, +3 -3Showing whitespace changes
public/index.html+1 -1
@@ -3417,7 +3417,7 @@
34173417 </form>
34183418 <div id="01ai_form" data-source="01ai">
34193419 <h4>
34203420 <a data-i18n="01.AI API Key" href="https://platform.01lingyiwanwu.aicom/" target="_blank" rel="noopener noreferrer">
34213421 01.AI API Key
34223422 </a>
34233423 </h4>
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') {