deepseek-ai / awesome-deepseek-integration

Creative Commons Zero v1.0 Universal
535 stars 50 forks source link

[Raycast ChatGPT 插件] Server API 参数格式解析异常 #33

Open MeetzhDing opened 3 weeks ago

MeetzhDing commented 3 weeks ago

这个问题出现在 Raycast 的 ChatGPT 插件上,但这应该是个共性问题。 具体的细节请看: https://github.com/raycast/extensions/issues/14230

deepseek 的 api 服务,当前的 content 参数只能够接受纯字符串,不能接受 数组对象结构。 这会导致一些第三方服务的调用出现异常。

我们可以对 API 接口进行兼容性升级吗?支持使用数组形式的 text 文本输入。期望允许接收的参数如下格式 https://github.com/raycast/extensions/blob/4e86383a7211b23eeda858e1da9b32a26a5c89a9/extensions/chatgpt/src/hooks/useChat.tsx#L71-L81