ChatCompletionResponse' object has no attribute 'model_dump_json' #1021
-
yield "{}".format(chunk.model_dump_json(exclude_unset=True)) The code is throwing an error at this point. What's the issue? |
Beta Was this translation helpful? Give feedback.
Answered by
zRzRzRzRzRzRzR
Mar 25, 2024
Replies: 1 comment 1 reply
-
检查你的pydantic版本 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zRzRzRzRzRzRzR
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
检查你的pydantic版本