Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MeetzhDing opened this issue Aug 28, 2024 · 0 comments
Open

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

MeetzhDing opened this issue Aug 28, 2024 · 0 comments

Comments

@MeetzhDing
Copy link

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant