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

[Bug] 在使用moonshot,kimi时,如果message上文中有使用思维导图插件的情况,报错 #2208

Closed
songtanjichuan opened this issue Apr 26, 2024 · 3 comments · Fixed by #2414
Labels
🐛 Bug Something isn't working | 缺陷 released

Comments

@songtanjichuan
Copy link

💻 系统环境

Windows

📦 部署环境

Official Preview

🌐 浏览器

Chrome

🐛 问题描述

看下图中请求,是因为发送的messages 中有一个content为空导致了错误的返回,
image
同时在Claude 3的时候,返回的错误就是不支持role 是function的情况,这个错误 我就不截图。

🚦 期望结果

应该默认给content一个null 或者不影响上下文prompt的内容

📷 复现步骤

1.先用gpt3.5 发送一个调用思维导图的消息
2.在切换模型到moonshot 或者Claude3 ,在发送消息

📝 补充信息

No response

@songtanjichuan songtanjichuan added the 🐛 Bug Something isn't working | 缺陷 label Apr 26, 2024
@lobehubbot
Copy link
Member

👀 @songtanjichuan

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

@songtanjichuan

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

@lobehubbot
Copy link
Member

🎉 This issue has been resolved in version 0.157.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 released
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants