You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nuaabuaa07
changed the title
[Bug] [Module Name] Bug title
[Bug] [Module Name] with chatgpt , error message : 'ChatCompletionChunk' object has no attribute 'get'
Nov 29, 2023
Search before asking
Operating system information
Linux
Python version information
3.10
DB-GPT version
main
Related scenes
Installation Information
Installation From Source
Docker Installation
Docker Compose Installation
Cluster Installation
AutoDL Image
Other
Device information
cpu
Models information
chatGPT
What happened
What you expected to happen
why show message?
ValueError: Model server error!code=1, errmsg is LLMServer Generate Error, Please CheckErrorInfo.: 'ChatCompletionChunk' object has no attribute 'get'
How to reproduce
delete code :
if not r.get("choices"):
continue
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: