소스 검색

feat: AI 文本生成使用 qwen-plus 模型

MyFramework User 5 달 전
부모
커밋
3a07d4bbfb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      server/src/modules/ai/ai.controller.ts

+ 1 - 1
server/src/modules/ai/ai.controller.ts

@@ -31,7 +31,7 @@ router.post('/generate', async (ctx: Context) => {
     const response = await axios.post(
       'https://dashscope.aliyuncs.com/api/v1/services/aigc/text-generation/generation',
       {
-        model: 'qwen-turbo',
+        model: 'qwen-plus',
         input: {
           prompt: prompt,
         },