This get_answer API does not support streaming output.
Expected behavior
No response
Steps to reproduce
When the "stream" param is set to false, the output:
{
"data": {
"answer": "您好!有什么我可以帮助您的吗?",
"reference": []
},
"retcode": 0,
"retmsg": "success"
}
When the "stream" param is set to true, the output:
{
"retcode": 500,
"retmsg": "chat() got multiple values for argument 'stream'",
"data": {
"answer": "**ERROR**: chat() got multiple values for argument 'stream'",
"reference": []
}
}
Is there an existing issue for the same bug?
Branch name
main
Commit ID
the latest code
Other environment information
Actual behavior
This get_answer API does not support streaming output.
Expected behavior
No response
Steps to reproduce
Additional information
No response