lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design LLMs/AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Bedrock / Azure / Mistral / Perplexity ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT chat application.
https://chat-preview.lobehub.com
Other
34.59k stars 8.12k forks source link

[Bug] 使用插件没有后续对话 #1147

Closed Hurray0 closed 5 months ago

Hurray0 commented 5 months ago

💻 Operating System

Other Linux

📦 Environment

Docker

🌐 Browser

Safari

🐛 Bug Description

我的环境是: docker搭建的lobe-chat,api使用的是coplilot-gpt4-service搭建的本地代理url,使用gpt4/gpt3.5都没有什么问题。 但是当使用插件时,无论什么插件,目前都是请求了之后没有任何后续反馈了,如下图:

image image

不知道要怎么调试和解决呢?

🚦 Expected Behavior

No response

📷 Recurrence Steps

No response

📝 Additional Information

No response

lobehubbot commented 5 months ago

👀 @Hurray0

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

scortLi commented 5 months ago

@Hurray0 你选中插件了吗

lobehubbot commented 5 months ago

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


@Hurray0 Have you selected the plugin?

Hurray0 commented 5 months ago

@Hurray0 你选中插件了吗

是的,我每次都选中了插件。例如第一张图选的“学术”插件:

image

我看这个issue-864说是不支持第三方模型,是不是非openai的API都用不了插件的啊?

Hurray0 commented 5 months ago

镜像和版本信息:

image
scortLi commented 5 months ago

@Hurray0 image 看这个是只要支持Function call是支持第三方模型的,还有看看是不是插件描述有问题

Hurray0 commented 5 months ago

@Hurray0 image 看这个是只要支持Function call是支持第三方模型的,还有看看是不是插件描述有问题

我这边用的插件商店里的几个插件呀,而且都已经出现了“我将使用xxx工具开始查询”这样的字样?

lobehubbot commented 5 months ago

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


@Hurray0 ![image](https://private-user-images.githubusercontent.com/14088043/299524608-c9111990-9047-4233-a4b8-4016ca108cbb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..GoO IlnRGUvOtLN_uLuILagKwYqN4IHAOXnXJOn6nS4M) See this as long as it supports Function call supports third-party models. Also check if there is a problem with the plug-in description.

There are several plug-ins in the plug-in store that I use here, and the words "I will use xxx tool to start query" have appeared on them?

scortLi commented 5 months ago

@Hurray0 那应该是这个插件本身有问题的

lobehubbot commented 5 months ago

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


@Hurray0 That should be a problem with the plug-in itself

WayneShao commented 5 months ago

我也有一样的问题,使用的模型是 Azure 的 gpt-4-vision

image

lobehubbot commented 5 months ago

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


I also have the same problem, the model used is Azure's gpt-4-vision

image

Hurray0 commented 5 months ago

@Hurray0 那应该是这个插件本身有问题的

有什么推荐测试的插件和标准问题吗?我在我的环境试一下?

lobehubbot commented 5 months ago

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


@Hurray0 That should be a problem with the plug-in itself

Are there any recommended plugins and standard questions for testing? Can I try it in my environment?

mushan0x0 commented 5 months ago

https://github.com/aaamoon/copilot-gpt4-service/issues/98#issuecomment-1883367613 coplilot-gpt4-service 不支持函数调用的

lobehubbot commented 5 months ago

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


https://github.com/aaamoon/copilot-gpt4-service/issues/98#issuecomment-1883367613 coplilot-gpt4-service does not support function calls

mushan0x0 commented 5 months ago

我也有一样的问题,使用的模型是 Azure 的 gpt-4-vision

gpt-4-vision 也不支持函数调用

lobehubbot commented 5 months ago

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


I also have the same problem, the model used is Azure's gpt-4-vision

gpt-4-vision also does not support function calls

Hurray0 commented 5 months ago

aaamoon/copilot-gpt4-service#98 (comment) coplilot-gpt4-service 不支持函数调用的

噢噢,原来是这样。感谢解答问题🙏🏻 不过能否增加一个功能给个反馈啊(比如当前API不支持function calls),不然用户调了插件没有任何反应都不知道怎么回事

lobehubbot commented 5 months ago

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


aaamoon/copilot-gpt4-service#98 (comment) coplilot-gpt4-service does not support function calls

Oh, that's it. Thanks for answering the question🙏🏻 But can you add a function and give feedback (for example, the current API does not support function calls), otherwise users will not know what happened if there is no response after adjusting the plug-in.

mushan0x0 commented 5 months ago

噢噢,原来是这样。感谢解答问题🙏🏻 不过能否增加一个功能给个反馈啊(比如当前API不支持function calls),不然用户调了插件没有任何反应都不知道怎么回事

这个判断不了,只能让接口不支持的时候进行报错,但是现在接口都不会报错

lobehubbot commented 5 months ago

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


Oh, that’s it. Thanks for answering the question🙏🏻 But can you add a function and give feedback (for example, the current API does not support function calls), otherwise users will not know what happened after adjusting the plug-in but nothing happens.

This cannot be judged. It can only report an error when the interface does not support it, but now the interface will not report an error.

lobehubbot commented 5 months ago

✅ @Hurray0

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

WayneShao commented 5 months ago

我也有一样的问题,使用的模型是 Azure 的 gpt-4-vision

gpt-4-vision 也不支持函数调用

image

根据官方文档 的说明,似乎不是不支持,而是API 破坏性更新了?

arvinxx commented 5 months ago

@WayneShao 不是, gpt-4-vision 不支持函数调用是这个模型本身的特性…

lobehubbot commented 5 months ago

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


@WayneShao No, gpt-4-vision does not support function calls because it is a characteristic of this model...