lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
41.98k stars 9.46k forks source link

[Bug] GPT-4o使用LobeHub官方插件时response.undefined #2732

Closed hlc1209 closed 2 months ago

hlc1209 commented 4 months ago

📦 部署环境

📌 软件版本

v0.162.11

💻 系统环境

🌐 浏览器

🐛 问题描述

image

让GPT-4o调用插件时就会这样。不调用插件,普通回答没有问题。

claude3-opus和GPT-4调用插件没有问题

📷 复现步骤

让GPT-4o调用插件

🚦 期望结果

No response

📝 补充信息

No response

lobehubbot commented 4 months ago

👀 @hlc1209

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

7788jay commented 4 months ago

image 我没调用插件也会

ZeroDeng01 commented 4 months ago

我更新后也经常出现这个问题

lobehubbot commented 4 months ago

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


This problem often occurs after I update

arvinxx commented 3 months ago

@hlc1209 哪家服务商

lobehubbot commented 3 months ago

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


@hlc1209 Which service provider?

hlc1209 commented 3 months ago

@hlc1209 哪家服务商

官方

lobehubbot commented 3 months ago

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


@hlc1209 Which service provider?

official

arvinxx commented 3 months ago

@hlc1209 我是说你的 api key,也是 OpenAI 官方的?

lobehubbot commented 3 months ago

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


@hlc1209 I mean your api key is also official?

hlc1209 commented 3 months ago

@hlc1209 我是说你的 api key,也是 OpenAI 官方的?

我也许没完全理解你的意思,不过我的api是官网上用自己账号生成的。

lobehubbot commented 3 months ago

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


@hlc1209 I mean your api key is also OpenAI official?

I may not fully understand what you mean, but my api is generated by my own account on the official website.

arvinxx commented 3 months ago

@hlc1209 如果是官方 api key, 能否给我下你开启了的插件是哪些,然后你问的问题是什么,以及模型是哪个,我在我本地尝试复现下

lobehubbot commented 3 months ago

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


@hlc1209 If it is the official api key, can you tell me which plug-ins you have enabled, what is the question you asked, and which model is it? I will try to reproduce it locally.

hlc1209 commented 3 months ago

@hlc1209 如果是官方 api key, 能否给我下你开启了的插件是哪些,然后你问的问题是什么,以及模型是哪个,我在我本地尝试复现下

GPT-4o。随意问几个问题都能复现。 插件如下,都是官方插件 image

lobehubbot commented 3 months ago

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


@hlc1209 If it is the official api key, can you tell me which plug-ins you have enabled, what is the question you asked, and which model is it? I will try to reproduce it locally.

GPT-4o. It can be reproduced by just asking a few random questions. The plug-ins are as follows, all are official plug-ins image

hlc1209 commented 3 months ago

今天出现了新的报错,可稳定复现 启用插件如上所述

image

hlc1209 commented 3 months ago

今日使用gpt-4o时再次遇到问题。版本v1.1.3,插件是search engine 具体表现: 我眼睁睁看着回答不断正常出现,突然整个回答就变成 image 感觉是parser问题?因为回答中混合代码和URL以及潜在的插件调用

然后我删除这个回答,让其再次回答,结果就是永远报以下错误 image

lobehubbot commented 3 months ago

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


I encountered another problem today when using gpt-4o. Version v1.1.3, the plug-in is search engine Specific performance: I watched helplessly as the answers kept appearing normally, then suddenly the whole answer changed to image Feel like it's a parser problem? Because of the mix of code and URLs in the answer and potential plugin calls

Then I deleted this answer and asked it to answer again. The result was that the following error was always reported. image

gray0128 commented 3 months ago

azure部署的 gpt4o,类似的问题

image
lobehubbot commented 2 months ago

✅ @hlc1209

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