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] 插件调用异常的几种情况 #1876

Closed
wuyuan1992 opened this issue Apr 3, 2024 · 6 comments · Fixed by #2414
Closed

[Bug] 插件调用异常的几种情况 #1876

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

Comments

@wuyuan1992
Copy link
Contributor

wuyuan1992 commented Apr 3, 2024

💻 系统环境

macOS

📦 部署环境

Docker

🌐 浏览器

Chrome

🐛 问题描述

image
image
image

使用插件会出现的问题:

  • 调用接口失败
  • 插件被循环调用(截图2中不只是循环调用3次,是手动停止前,持续循环调用)
  • 无法识别和调用插件

🚦 期望结果

插件调用正常

📷 复现步骤

使用 gpt3.5 或 gpt4 配合单个插件(我出现问题的时实时天气和 steam)

📝 补充信息

插件问题应该是偶现的问题。在昨天的使用中,gpt4 是能够识别插件并只查询一次的。

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

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


💻 System environment

macOS

📦 Deployment environment

Docker

🌐 Browser

Chrome

🐛 Problem description

image
image
image

Problems that may arise when using plug-ins:

  • call failed
  • The plug-in is called in a loop
  • Unable to recognize and call plug-ins

🚦 Expected results

Plug-in running call and normal use

📷 Steps to reproduce

Use gpt3.5 or gpt4 with a single plug-in (I had problems with real-time weather and steam)

📝 Supplementary information

The plug-in problem should be an occasional problem. In yesterday's use, gpt4 was able to identify the plug-in and query it only once.

@lobehubbot
Copy link
Member

👀 @wuyuan1992

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx arvinxx added this to the LobeChat 1.0 milestone Apr 3, 2024
@arvinxx
Copy link
Contributor

arvinxx commented Apr 3, 2024

  1. 我排查看下;
  2. 这个在 [Request] tool_calls改为role=tool #999 中能解决
  3. 这个可能和模型本身有关吧?

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


  1. Let’s check it out;
  2. This can be solved in [Request] tool_calls改为role=tool #999
  3. Maybe this is related to the model itself?

@lobehubbot
Copy link
Member

@wuyuan1992

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.

3 participants