Xizhiyuan
Xizhiyuan
> Please use `DeepSeekChatFormatter` 第二个问题确实解决了,第一个还是有问题,应该是传入工具参数的时候有问题,这是传入的工具参数,'tools': [{'type': 'function', 'function': {'name': 'generate_response', 'parameters': {'properties': {'response': {'description': 'Your response to the user.', 'type': 'string'}}, 'required': ['response'], 'type': 'object'},里面有个字段required好像和openai模型不兼容,我在OpenAIChatModel类下加了一行kwargs.pop("tools", None),就没有问题了,但是工具调用应该是用不了了
> > > Please use `DeepSeekChatFormatter` > > > > > > 第二个问题确实解决了,第一个还是有问题,应该是传入工具参数的时候有问题,这是传入的工具参数,'tools': [{'type': 'function', 'function': {'name': 'generate_response', 'parameters': {'properties': {'response': {'description': 'Your response to the user.', 'type': 'string'}}, 'required':...
I encouter the similar problem. However, I try to remove the dify-api-0.10.1 image and pull the image again, this problem can be solved.
> Which product is spark tts on the official website? > > Is this one [CN page](https://www.xfyun.cn/doc/spark/super%20smart-tts.html) ? yes
I encountered this problem too,the error log: self.created_by_role = created_by_role.value AttributeError: 'str' object has no attribute 'value'
I try to remove the dify-api-0.10.1 image and pull the image again, this problem can be solved.