聊天记录标题问题
#156
Replies: 3 comments 12 replies
-
你知道怎么打开后端的 DEBUT 模式看日志吗? |
Beta Was this translation helpful? Give feedback.
7 replies
-
[image: image.png]
点下这里看看,奇了个怪
…On Tue, Apr 18, 2023 at 11:30 AM cgofun ***@***.***> wrote:
下载更新了,下面是debug信息:
opuser-backend-wsgi-server-1 | Warning: gpt-3.5-turbo may change over
time. Returning num tokens assuming gpt-3.5-turbo-0301.
opuser-backend-wsgi-server-1 | Warning: gpt-3.5-turbo may change over
time. Returning num tokens assuming gpt-3.5-turbo-0301.
opuser-backend-wsgi-server-1 | messages: {'messages': [{'role': 'system',
'content': 'You are a helpful assistant.'}, {'role': 'user', 'content':
'我如何在Javascript中进行HTTP请求?'}], 'tokens': 29}
opuser-backend-wsgi-server-1 | Warning: gpt-3.5-turbo may change over
time. Returning num tokens assuming gpt-3.5-turbo-0301.
opuser-backend-wsgi-server-1 | 192.168.0.3 - - [18/Apr/2023:03:28:15
+0000] "POST /api/conversation/ HTTP/1.0" 200 11449 "http://172.16.11.247/"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/111.0.0.0 Safari/537.36"
opuser-backend-web-server-1 | 192.168.0.4 - - [18/Apr/2023:03:28:16 +0000]
"POST /api/conversation/ HTTP/1.1" 200 13032 "http://172.16.11.247/"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/111.0.0.0 Safari/537.36" "-"
opuser-backend-wsgi-server-1 | Bad Request: /api/gen_title/
opuser-backend-wsgi-server-1 | 192.168.0.3 - - [18/Apr/2023:03:28:16
+0000] "POST /api/gen_title/ HTTP/1.0" 400 41 "http://172.16.11.247/"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/111.0.0.0 Safari/537.36"
opuser-backend-web-server-1 | 192.168.0.4 - - [18/Apr/2023:03:28:16 +0000]
"POST /api/gen_title/ HTTP/1.1" 400 41 "http://172.16.11.247/"
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/111.0.0.0 Safari/537.36" "-"
[END] 2023-4-18 11:29:00
[image: image]
<https://user-images.githubusercontent.com/7732886/232663624-e3acb3be-2b35-4dd3-be3b-babd28b73cb4.png>
—
Reply to this email directly, view it on GitHub
<#156 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALAX6FCOAPJZTQYWQQIECS3XBYDF5ANCNFSM6AAAAAAXAFCUZM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
我知道了,你这个 key 是从前端传的,但是 gen_title 接口没有传这个参数。这是个bug,我稍后修复。你可以先在后台添加一个 key
[image: image.png]
…On Tue, Apr 18, 2023 at 1:40 PM cgofun ***@***.***> wrote:
key是在的,title响应里没了
<https://user-images.githubusercontent.com/7732886/232680996-82370017-3810-47b0-9cd8-64bfbf155505.png>
<https://user-images.githubusercontent.com/7732886/232681159-4f0f12c6-4fd0-4926-9dbe-c481469f33e9.png>
—
Reply to this email directly, view it on GitHub
<#156 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALAX6FENDB45WJBBGFDLN5LXBYSONANCNFSM6AAAAAAXAFCUZM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
标题生成出错,所以都是未命名,这个问题如何解决?
Beta Was this translation helpful? Give feedback.
All reactions