-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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] 使用插件进行联网搜索,多次询问后报错 #5455
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
📦 Deployment environmentDocker 📌 Software version1.46.3 💻 System environmentUbuntu 🌐 BrowserChrome 🐛 Problem descriptionUse the plug-in to search online. After asking multiple times, an error is reported. When opening a new conversation, no error is reported again. Both of the above plug-ins are used. 📷 Steps to reproduceNo response 🚦 Expected resultsNo response 📝 Supplementary informationNo response |
I found a similar closed issue titled "[Bug] 插件多轮调用报错" which was resolved by a pull request that fixed the tools calling issue [1]. The fix was documented in the changelog for Version 1.33.2, addressing the problem of multi-turns tools calling [2]. In your case, the error message indicates an "invalid_request_error" due to an empty parameter in 'messages.8.tool_calls'. This might be related to how the plugins are handling state or requests during multiple interactions. You might want to check if the plugins are correctly managing state or if there are any updates or patches available that address this specific error in the version you are using (1.46.3). To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
I found a similar closed issue titled "[Bug] 插件多轮调用报错" which was resolved by a pull request that fixed tools calling [1]. This might be related to the error you're experiencing with plugin calls resulting in an "invalid_request_error." In the lobe-chat framework, handling of empty parameters in requests to the OpenAI service involves setting default values or fallbacks. For instance, parameters like If the error persists, it might be beneficial to check if the plugin configurations are correctly reset or reinitialized when starting a new conversation, as the framework uses a function called To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
📦 部署环境
Docker
📌 软件版本
1.46.3
💻 系统环境
Ubuntu
🌐 浏览器
Chrome
🐛 问题描述
使用插件进行联网搜索,多次询问后报错,开启新对话又没报错了,以上两个插件都有使用
📷 复现步骤
No response
🚦 期望结果
No response
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: