From 53e6097ecb4a74bbd9f769c2ee24cd0696212b50 Mon Sep 17 00:00:00 2001 From: Qu Yi <2020218037@mail.hfut.edu.cn> Date: Tue, 29 Oct 2024 12:39:10 +0800 Subject: [PATCH] Update qwen.js Add compatibility tips for openai api. --- src/models/qwen.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/models/qwen.js b/src/models/qwen.js index d4930b5..c343253 100644 --- a/src/models/qwen.js +++ b/src/models/qwen.js @@ -1,5 +1,7 @@ // This code uses Dashscope and HTTP to ensure the latest support for the Qwen model. -// Qwen is also compatible with the OpenAI API format; +// Qwen is also compatible with the OpenAI API format, and the base URL to be configured is: "https://dashscope.aliyuncs.com/compatible-mode/v1". + +https://dashscope.aliyuncs.com/compatible-mode/v1 import { getKey } from '../utils/keys.js';