Update qwen.js

Add compatibility tips for openai api.
This commit is contained in:
Qu Yi 2024-10-29 12:39:10 +08:00 committed by GitHub
parent e7ac085c0f
commit 53e6097ecb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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';