ChatGPT: (Bot) Please provide the formula.
Client: (User) (5+3)6
ChatGPT: (API call) [Calculator(formula='(5+3)6')] (wait for the result)
Client: (API return) {'result': 48}
ChatGPT: (Bot) The result of (5+3)*6 is 48.
Client: (User) Thank you.
Now, we start. The following is the first utterence of Client:
2024-01-31 14:43:47,631 - root - INFO - Logging : user input is - I'm going on vacation to Sanya next week, can you help me book a hotel?
2024-01-31 14:43:47,756 - root - INFO - Logging : payload is - {'temperature': 1.0, 'top_p': 1.0, 'n': 1}
无效的令牌 (request id: 20240131144349134226063EtGrSnG9)
无效的令牌 (request id: 20240131144351119033007pPH5oRM2)
2024-01-31 14:43:52,768 - asyncio - ERROR - Task exception was never retrieved
future: <Task finished name='v8fi7b5il1_2' coro=<Queue.process_events() done, defined at D:\ProgramData\Anaconda3\envs\langchain\lib\site-packages\gradio\queueing.py:343> exception=AttributeError("'AsyncRequest' object has no attribute '_json_response_data'")>
Traceback (most recent call last):
File "D:\ProgramData\Anaconda3\envs\langchain\lib\site-packages\gradio\queueing.py", line 370, in process_events
while response.json.get("is_generating", False):
File "D:\ProgramData\Anaconda3\envs\langchain\lib\site-packages\gradio\utils.py", line 695, in json
return self._json_response_data
AttributeError: 'AsyncRequest' object has no attribute '_json_response_data'
无效的令牌 (request id: 2024013114435350511718CQ9smRSZ)
无效的令牌 (request id: 20240131144354119147761PifZUn3r)
无效的令牌 (request id: 20240131144358890246494Jws8660B)
无效的令牌 (request id: 20240131144404857715493AiI5s972)
当我在gradio界面输入问题并运行时,后台有如下报错: 请问有什么问题? 关键是这个无效的令牌指的是调用哪个API?
ChatGPT: (Bot) Please provide the formula. Client: (User) (5+3)6 ChatGPT: (API call) [Calculator(formula='(5+3)6')] (wait for the result) Client: (API return) {'result': 48} ChatGPT: (Bot) The result of (5+3)*6 is 48. Client: (User) Thank you.
Now, we start. The following is the first utterence of Client: 2024-01-31 14:43:47,631 - root - INFO - Logging : user input is - I'm going on vacation to Sanya next week, can you help me book a hotel? 2024-01-31 14:43:47,756 - root - INFO - Logging : payload is - {'temperature': 1.0, 'top_p': 1.0, 'n': 1} 无效的令牌 (request id: 20240131144349134226063EtGrSnG9) 无效的令牌 (request id: 20240131144351119033007pPH5oRM2) 2024-01-31 14:43:52,768 - asyncio - ERROR - Task exception was never retrieved future: <Task finished name='v8fi7b5il1_2' coro=<Queue.process_events() done, defined at D:\ProgramData\Anaconda3\envs\langchain\lib\site-packages\gradio\queueing.py:343> exception=AttributeError("'AsyncRequest' object has no attribute '_json_response_data'")> Traceback (most recent call last): File "D:\ProgramData\Anaconda3\envs\langchain\lib\site-packages\gradio\queueing.py", line 370, in process_events while response.json.get("is_generating", False): File "D:\ProgramData\Anaconda3\envs\langchain\lib\site-packages\gradio\utils.py", line 695, in json return self._json_response_data AttributeError: 'AsyncRequest' object has no attribute '_json_response_data' 无效的令牌 (request id: 2024013114435350511718CQ9smRSZ) 无效的令牌 (request id: 20240131144354119147761PifZUn3r) 无效的令牌 (request id: 20240131144358890246494Jws8660B) 无效的令牌 (request id: 20240131144404857715493AiI5s972)