Snake
Snake
模型骂人了,学到了国粹。。
> 结案:你的接口返回的ChatCompletionMessage返回的是function_call,而fastgpt里面是通过tool_calls的参数识别的调用,所以报错了 解决方案: > > * 改你本地的接口 > * 或者改fastgpt的源码 如果不是openAI 的gpt模型 ,在config.local.json配置文件中,把模型配置的 `toolChoice`字段置为false就行了,因为gpt-3.5-turbo默认toolChoice设置为True,所以会调用相关代码,非GPT模型调用就会报错。 
If it is not a gpt-3.5 model, setting the `toolChoice` field in the `config.local.json` to false for the model configuration will suffice.
已设置 web_search_switch = '- Web search: enabled.\n' calculator_switch = '- Calculator: enabled.\n' equation_solver_switch = '- Equation solver: enabled.\n' text_to_image_switch = '- Text-to-image: enabled.\n' image_edition_switch = '- Image edition: enabled.\n' text_to_speech_switch...
亲测可用!
同样遇到了,有时候会疯狂排比句