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] 不同用户登录看到的模型表现不同 #5456

Open
daizeyao-boomingtech opened this issue Jan 15, 2025 · 11 comments
Open

[Bug] 不同用户登录看到的模型表现不同 #5456

daizeyao-boomingtech opened this issue Jan 15, 2025 · 11 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@daizeyao-boomingtech
Copy link

📦 Environment

Docker

📌 Version

1.45.7

💻 Operating System

Ubuntu

🌐 Browser

Chrome

🐛 Bug Description

image
image
不同用户登录看到的模型表现不同

📷 Recurrence Steps

一个账号是相对老的账号,一个账号是新建立的账号,模型参数是部署时输入的,修改.env之后 docker compose up -d,重启之后再建立新账户,两个账号看到的模型(虽然其实是一样的)是不一样的

🚦 Expected Behavior

No response

📝 Additional Information

No response

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

👀 @daizeyao-boomingtech

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 Jan 15, 2025

不同用户在 LobeChat 中看到的模型表现不同,可能是由于旧用户的模型参数在对话中未正确显示。这是因为旧用户在 AI 服务提供商界面中设置的配置未正确加载,而新用户则使用环境变量中的模型配置。要解决此问题,旧用户需要清除已获取的模型并重新获取,以强制系统从环境变量中读取模型配置。此外,模型参数(如 temperaturetop_ppresence_penaltyfrequency_penalty)的差异也可能导致不同的输出,即使使用相同的模型和环境设置[1][2]

要清除和重新获取模型配置,请执行以下步骤:

  1. 导航到用户界面中的 AI 提供商页面。
  2. 点击“清除已获取的模型”。
  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

@Sun-drenched
Copy link

手动清除获取的模型后再获取模型列表。

@lobehubbot
Copy link
Member

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


Manually clear the obtained models before obtaining the model list.

@daizeyao-boomingtech
Copy link
Author

手动清除获取的模型后再获取模型列表。

image
it doesn't work

@Yuyuyang
Copy link

Yuyuyang commented Jan 17, 2025

这个问题我之前遇到过#5394,看来现在并未解决

@lobehubbot
Copy link
Member

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


I have encountered this problem before #5394, but it seems that it has not been solved yet #

@Sun-drenched
Copy link

手动清除获取的模型后再获取模型列表。

image it doesn't work

你在.env中有没有定义这几个模型的能力?

@daizeyao-boomingtech
Copy link
Author

手动清除获取的模型后再获取模型列表。

image it doesn't work

你在.env中有没有定义这几个模型的能力?

并没有 我希望他可以自己识别出来

@Sun-drenched
Copy link

手动清除获取的模型后再获取模型列表。

image it doesn't work

你在.env中有没有定义这几个模型的能力?

并没有 我希望他可以自己识别出来

这应该是一个BUG,(应该)会在随后解决。
在此期间,你可以尝试进入模型配置界面(一般来说会自动识别并定义能力,所以无需做修改)再点击确认键。该模型的能力应该就可以在图示处显示。

@lobehubbot
Copy link
Member

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


Manually remove the obtained model and then get the model list.

[Image] (https://github.com/user-attachments/87be51ba-5D15-49ce-9696-43e8135a77d0) It Doesm Work Work

Do you define the ability of these models in.env?
"
No I hope he can identify it by yourself

This should be a bug, (should) be resolved later.
During this period, you can try to enter the model configuration interface (generally automatically identify and define the ability, so you do not need to modify) and then click the confirmation key. The ability of this model should be displayed at the icon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

4 participants