Ver código fonte

修改 chat 请求

cherishsince 1 ano atrás
pai
commit
efab5517d7

+ 2 - 2
yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat.http

@@ -16,14 +16,14 @@ tenant-id: 1
 }
 
 ### chat call
-GET {{baseUrl}}/ai/chat?prompt=中国怎么样
+GET {{baseUrl}}/ai/chat?prompt=中国怎么样&modal=qianWen
 tenant-id: 1
 Authorization: {{token}}
 
 
 
 ### chat call
-GET {{baseUrl}}/ai/chatStream?prompt=苹果是什么颜色?
+GET {{baseUrl}}/ai/chatStream?prompt=苹果是什么颜色?&modal=yiYan3_5_8k
 tenant-id: 1
 Authorization: {{token}}
 

+ 1 - 1
yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/http-client.env.json

@@ -1,6 +1,6 @@
 {
   "dev": {
     "baseUrl": "http://127.0.0.1:48080",
-    "token": "Bearer cff0ce99ddb14ea89c62ff4de1c31180"
+    "token": "Bearer 7d25823e225f4e0d8f9a96b0fa608649"
   }
 }