Commit 9e412ffec8cf32a60b01223c978567a744dee714
1 parent
cec8cc7a
测试,role删除
Showing
3 changed files
with
10 additions
and
5 deletions
yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat-role.http
yudao-module-ai/yudao-module-ai-biz/src/main/resources/http/chat.http
| @@ -16,15 +16,13 @@ tenant-id: 1 | @@ -16,15 +16,13 @@ tenant-id: 1 | ||
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | ### chat call | 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 | Authorization: {{token}} | 20 | Authorization: {{token}} |
| 22 | 21 | ||
| 23 | 22 | ||
| 24 | 23 | ||
| 25 | ### chat call | 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 | Authorization: {{token}} | 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,6 +4,6 @@ | ||
| 4 | }, | 4 | }, |
| 5 | "dev": { | 5 | "dev": { |
| 6 | "baseUrl": "http://127.0.0.1:48080", | 6 | "baseUrl": "http://127.0.0.1:48080", |
| 7 | - "token": "Bearer a9bf9c8c10cb47fc92bc9aac95b63f5b" | 7 | + "token": "Bearer 66346cc899e243b081321bd1336a257a" |
| 8 | } | 8 | } |
| 9 | } | 9 | } |
| 10 | \ No newline at end of file | 10 | \ No newline at end of file |