lobe-chat
lobe-chat copied to clipboard
[Bug] Dalle3等内置工具function name问题
💻 系统环境 | Operating System
Other
🌐 浏览器 | Browser
Edge
🐛 问题描述 | Bug Description
dalle3的systemRole里,工具名称是Dall.E 3,prompt里是dalle,但function name是dalle3____text2image____builtin。
因为这段system prompt是OpenAI训练Dalle3作为内置工具的prompt,所以会有偶发的function call中name为"dalle“的情况,导致后续失败。建议内置工具(尤其是OpenAI的内置工具)可以直接用原名,其他类型的tool可以拼上前后缀做独特identifier
🚦 期望结果 | Expected Behavior
No response
📷 复现步骤 | Recurrence Steps
No response
📝 补充信息 | Additional Information
No response
👀 @hackiey
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
用原名应该不行,这样现有的实现机制会有问题。
再观察观察
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It should not be possible to use the original name, as this will cause problems with the existing implementation mechanism.
Observe again
触发概率还是挺高的,或者不改function name,把system prompt改一改应该也可以
我回头试试看 system prompt 修改吧
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I'll try it later and modify the system prompt.
✅ @hackiey
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。
:tada: This issue has been resolved in version 0.118.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket: