Modify the url of qwen.json to default to the international version '-intl'

This commit is contained in:
Qu Yi 2024-12-16 19:23:24 +08:00
parent 37aecb0e70
commit 4c8c61b2f3

View file

@ -5,13 +5,13 @@
"model": { "model": {
"api": "qwen", "api": "qwen",
"url": "https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation", "url": "https://dashscope-intl.aliyuncs.com/api/v1/services/aigc/text-generation/generation",
"model": "qwen-max" "model": "qwen-max"
}, },
"embedding": { "embedding": {
"api": "qwen", "api": "qwen",
"url": "https://dashscope.aliyuncs.com/api/v1/services/embeddings/text-embedding/text-embedding", "url": "https://dashscope-intl.aliyuncs.com/api/v1/services/embeddings/text-embedding/text-embedding",
"model": "text-embedding-v3" "model": "text-embedding-v3"
} }
} }