lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

[Bug] deepseek模型调用插件未按预期返回结果,只返回了json值

Open exqmjmz opened this issue 5 months ago • 10 comments

📦 部署环境

Docker

📌 软件版本

v1.16.7

💻 系统环境

macOS

🌐 浏览器

Edge

🐛 问题描述

模型为deepseek,插件为lobehub文档中所提到的插件模板 https://lobehub.com/zh/docs/usage/plugins/development 发送对话消息,在返回需要返回的结果时,直接是只返回了json值 image

{"name": "plugin-identifier____recommendClothes", "parameters": {"mood": "sad", "gender": "woman"}}

本地启动调试服务后的截图 image

deepseek的文档中是提到支持function_calling https://platform.deepseek.com/api-docs/guides/function_calling

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

exqmjmz avatar Sep 11 '24 17:09 exqmjmz