【classifier issue】 Run failed: [wenxin] Bad Request Error, The number of messages should be odd. #11776
Closed
5 tasks done
Labels
🐞 bug
Something isn't working
Self Checks
Dify version
0.14.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
I want to use a classifier to classify problems
but classifier always return “Run failed: [wenxin] Bad Request Error, The number of messages should be odd.“
following is my input
{
"sys.query": "1+1=几?",
"sys.files": [],
"sys.conversation_id": "fdc4b4d2-ea19-4f4b-a29a-eb821277cb81",
"sys.user_id": "6f3c4ffb-1b06-4aa2-860d-68f3fef96acb",
"sys.dialogue_count": 0,
"sys.app_id": "1d22e606-28d2-46ec-880f-36a465f80588",
"sys.workflow_id": "904fc580-b948-4035-9403-fa7bbe39df3a",
"sys.workflow_run_id": "1a80fe03-ece7-44b5-b6bf-c3ebee26d8af"
}
following is the screenshot
✔️ Expected Behavior
I have set up two categories for Chinese language problems and math problems. When I input 1+1=what? I hope it can be classified as a mathematical problem
❌ Actual Behavior
It always raise an exception that Run failed: [wenxin] Bad Request Error, The number of messages should be odd.“
The text was updated successfully, but these errors were encountered: