Open BryceWG opened 2 hours ago
To fix the enable_search
parameter for Tongyi models when it is invalid and causes a "Server Unavailable Error" with status code 500, ensure that the parameter is correctly set as a boolean value. The enable_search
parameter should be either true
or false
. For example:
{
"enable_search": true
}
or
{
"enable_search": false
}
If the parameter is set to any value other than a boolean, it may cause the server to return a 500 error [1].
Additionally, ensure that the specific version of the Tongyi model you are using supports the enable_search
parameter. The qwen-max-0428
version supports this parameter, but there is no information about other versions that do not support it [2].
To continue talking to Dosu, mention @dosu.
Self Checks
Dify version
0.8.3
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
The enable_search parameter option in the parameter settings of the Tongyi model is invalid. This issue has been tested with multiple versions of the models.
✔️ Expected Behavior
Fix the enable_search parameter for Tongyi models
❌ Actual Behavior
The Tongyi platform refused the request parameter