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
44.83k stars 10.08k forks source link

[Bug] Search Engine Plugin Resets Chat Conversation Context #4690

Open jatcalleros opened 1 week ago

jatcalleros commented 1 week ago

📦 Environment

Docker

📌 Version

1.31.5

💻 Operating System

Ubuntu

🌐 Browser

Firefox

🐛 Bug Description

When using the search engine plugin in Lobechat, the application fails to recognize the current chat conversation. Instead, it initiates a new conversation every time the search engine plugin is activated, causing the loss of conversation context.

📷 Recurrence Steps

  1. Open Lobechat and start a conversation.
  2. Engage in some discussion (e.g., ask questions, provide inputs).
  3. Activate the search engine plugin.
  4. Observe that the chat resets to the beginning, losing all prior context and messages.

🚦 Expected Behavior

The search engine plugin should maintain the context of the ongoing conversation and allow users to continue without resetting the chat history.

Actual Behavior: Upon activating the search engine plugin, the chat resets, and the conversation appears to start anew.

📝 Additional Information

No response

lobehubbot commented 1 week ago

👀 @jatcalleros

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

dosubot[bot] commented 1 week ago

Hey @jatcalleros! I'm here to help you with bugs, questions, and more. Let's tackle this issue together.

The issue you're experiencing with the search engine plugin resetting the chat conversation context in Lobe Chat version 1.31.5 seems to be a bug. Unfortunately, there isn't specific documentation or known issues related to this behavior in the current repository information.

To address this, you might consider checking if there are any updates or patches available for the plugin or the application itself. Additionally, reviewing the plugin's initialization and management process might provide insights into why the context is being reset. If the problem persists, it could be beneficial to report this issue to the maintainers of the Lobe Chat repository for further investigation and resolution.

To continue talking to Dosu, mention @dosu.