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] 最新版无法记录选择的模型 #6126

Closed
liuchao0807 opened this issue Feb 14, 2025 · 35 comments · Fixed by #6186, #6203 or #6252
Closed

[Bug] 最新版无法记录选择的模型 #6126

liuchao0807 opened this issue Feb 14, 2025 · 35 comments · Fixed by #6186, #6203 or #6252
Labels
🐛 Bug Something isn't working | 缺陷 released

Comments

@liuchao0807
Copy link

📦 部署环境

Docker

📌 软件版本

v1.53.11

💻 系统环境

Ubuntu

🌐 浏览器

Chrome

🐛 问题描述

在助手聊天界面选择一个模型后,重新进入聊天界面,不会记录上次选择的模型

📷 复现步骤

  1. 进入了解界面,选择一个模型
  2. 退出聊天界面
  3. 再次进入同一个助手的聊天界面
  4. 点击查看模型,发现没有任何一个模型被选中
  5. 此时直接聊天发现使用的模型是gpt-4o-mini
ScreenRecording_02-14-2025.07-57-13_1.mp4

🚦 期望结果

能记忆选择的模型

📝 补充信息

@liuchao0807 liuchao0807 added the 🐛 Bug Something isn't working | 缺陷 label Feb 14, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Feb 14, 2025
@lobehubbot
Copy link
Member

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


📦 Deployment environment

Docker

📌 Software version

v1.53.11

💻 System environment

Ubuntu

🌐 Browser

Chrome

🐛 Question description

After selecting a model in the Assistant Chat Interface, re-enter the chat interface and the last selected model will not be recorded.

📷 Reproduction steps

  1. Enter the understanding interface and select a model
  2. Exit the chat interface
  3. Enter the chat interface of the same assistant again
  4. Click to view the model and find that no model has been selected.
  5. At this time, the model used was found to be gpt-4o-mini
ScreenRecording_02-14-2025.07-57-13_1.mp4

🚦 Expected results

A model that can remember selection

📝 Supplementary information

No

@lobehubbot
Copy link
Member

👀 @liuchao0807

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

Copy link

dosubot bot commented Feb 14, 2025

@liuchao0807 你好!我是Dosu,一个可以帮助你解决 bug、回答问题,并成为贡献者的机器人。我会在等待人类维护者的过程中帮助你。

在最新版 v1.53.11 中,使用 Docker 部署时,Lobe Chat 在首次打开时默认使用 gpt-4o-mini 模型,而不会记住之前选择的模型。这是因为 DEFAULT_AGENT_CONFIG 环境变量的默认模型配置需要在首次加载 Lobe Chat 时刷新页面才能生效。要解决此问题,可以在初次加载后刷新页面,或者回退到没有此问题的 Lobe Chat 版本 1.51.3 [1]

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other | Bug Report

@SAnBlog
Copy link

SAnBlog commented Feb 14, 2025

在更新版本后首次强制刷新的时候会丢失记忆选择,默认选择了gpt-4o-mini

@lobehubbot
Copy link
Member

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


When the first forced refresh after the update version is first lost, the memory selection will be lost. The default selection is gpt-4o-mini

@Alencryenfo
Copy link

同样的问题
我怀疑这和
#6123
#6124
是一个类型的问题,可能是有一次修复电脑端的助手设置界面静态化后无法选择后的遗留bug

@lobehubbot
Copy link
Member

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


Same problem
I doubt this
#6123
#6124
It is a type of problem. It may be that it was a bug that could not be selected after the computer assistant settings interface was static.

@YANANEER
Copy link

YANANEER commented Feb 14, 2025

我也遇到这问题了,好只是在移动端有,不仅模型选择会变成4omini,有时候整个模型选择列表都会变成默认的。

@lobehubbot
Copy link
Member

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


I've encountered this problem, but it's just on the mobile terminal

@YANANEER
Copy link

YANANEER commented Feb 14, 2025

同样的问题 我怀疑这和 #6123 #6124 是一个类型的问题,可能是有一次修复电脑端的助手设置界面静态化后无法选择后的遗留bug

#6124 是陈年老问题了,从我刚开始用LobeChat就有,不是这次页面静态化后出现的。

@lobehubbot
Copy link
Member

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


Same problem I suspect this is as #6123 [#6124](https://github.com/lobehub/lobe-chat/ issues/6124) is a type of problem. It may be that one time the computer assistant settings interface cannot be selected after statically setting the interface.

#6124 It's an old problem. It has been since I started using LobeChat, and it didn't appear after the page was static this time.

@cshitian
Copy link

我也遇到这问题了,好只是在移动端有,不仅模型选择会变成4omini,有时候整个模型选择列表都会变成默认的。

同样 如果不刷新的话 就会显示所有模型

@coulsontl
Copy link
Contributor

coulsontl commented Feb 14, 2025

遇到同样的问题,复现路径:进入服务商页面看一下什么都不做,然后再回到chat页面,之前在chat里选择的模型就会变成4omini了,这时候再刷新一下页面又正常了。怀疑和连通性检查的模型有关。

Image

@lobehubbot
Copy link
Member

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


If you encounter the same problem, review path: enter the service provider page, and then return to the chat page, the model you set up before will become 4omini. Suspected related to the newly added connectivity check model

Image

@github-project-automation github-project-automation bot moved this from Roadmap - Chat 1.x to Done in Lobe Chat Routine Feb 16, 2025
@lobehubbot
Copy link
Member

@liuchao0807

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

@liuchao0807
Copy link
Author

liuchao0807 commented Feb 16, 2025

@lobehubbot
Copy link
Member

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


The latest version of the problem still exists https://github.com/user-attachments/assets/14d79787-9680-4579-985b-91b03f1eafa7

@arvinxx
Copy link
Contributor

arvinxx commented Feb 16, 2025

@liuchao0807 你用的是 db 模式吗?还是 client 模式?

@lobehubbot
Copy link
Member

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


@liuchao0807 Are you using db mode? Or client mode?

@liuchao0807
Copy link
Author

@liuchao0807 你用的是 db 模式吗?还是 client 模式?

db模式

@lobehubbot
Copy link
Member

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


@liuchao0807 Are you using db mode? Or client mode?

db mode

@arvinxx
Copy link
Contributor

arvinxx commented Feb 16, 2025

OK 我再测试下

@arvinxx arvinxx reopened this Feb 16, 2025
@lobehubbot
Copy link
Member

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


OK I'll test it again

@lobehubbot
Copy link
Member

@liuchao0807

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 1.57.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@git-qiaozq
Copy link

实际上并未修复。第一次进入一个助手确实能正常显示之前设置的模型,但是退出当前助手回到主页面,再次进入助手(无论是进入哪个助手),又回到了默认模型。docker,db版本(已升级至1.57.1)

@lobehubbot
Copy link
Member

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


Not actually fixed. The first time you enter an assistant, it can indeed display the model you set up before, but you exit the current assistant and return to the main page, enter the assistant again (regardless of which assistant you enter), and return to the default model. docker, db version (upgraded to 1.57.1)

@arvinxx arvinxx reopened this Feb 16, 2025
@liuchao0807
Copy link
Author

确实,问题还存在

@lobehubbot
Copy link
Member

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


Indeed, the problem still exists

@arvinxx
Copy link
Contributor

arvinxx commented Feb 17, 2025

@git-qiaozq 你操作的是桌面还是移动?

@lobehubbot
Copy link
Member

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


@git-qiaozq Are you operating on desktop or mobile?

@git-qiaozq
Copy link

手机端,edge浏览器

@lobehubbot
Copy link
Member

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


Mobile, edge browser

@lobehubbot
Copy link
Member

@liuchao0807

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 1.60.4 🎉

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
9 participants