Commit 9e412ffec8cf32a60b01223c978567a744dee714

Authored by cherishsince
1 parent cec8cc7a

测试,role删除

yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat-role.http
... ... @@ -49,3 +49,10 @@ Authorization: {{token}}
49 49 }
50 50  
51 51  
  52 +
  53 +### chat update
  54 +DELETE {{baseUrl}}/ai/chat/role/1
  55 +Content-Type: application/json
  56 +Authorization: {{token}}
  57 +
  58 +
... ...
yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat.http
... ... @@ -16,15 +16,13 @@ tenant-id: 1
16 16 }
17 17  
18 18 ### chat call
19   -GET {{baseUrl}}/ai/chat?modal=qianWen&conversationId=111&prompt=中国好看吗?
20   -tenant-id: 1
  19 +GET {{baseUrl}}/ai/chat?modal=qianWen&conversationId=1781604279872581644&prompt=中国好看吗?
21 20 Authorization: {{token}}
22 21  
23 22  
24 23  
25 24 ### chat call
26   -GET {{baseUrl}}/ai/chatStream?prompt=苹果是什么颜色?&modal=yiYan3_5_8k
27   -tenant-id: 1
  25 +GET {{baseUrl}}/ai/chatStream?conversationId=1781604279872581644&prompt=苹果是什么颜色?&modal=yiYan3_5_8k
28 26 Authorization: {{token}}
29 27  
30 28  
... ...
yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/http-client.env.json
... ... @@ -4,6 +4,6 @@
4 4 },
5 5 "dev": {
6 6 "baseUrl": "http://127.0.0.1:48080",
7   - "token": "Bearer a9bf9c8c10cb47fc92bc9aac95b63f5b"
  7 + "token": "Bearer 66346cc899e243b081321bd1336a257a"
8 8 }
9 9 }
10 10 \ No newline at end of file
... ...