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] chat聊天框里多了很多我没设置的模型 #6066

Closed
coulsontl opened this issue Feb 13, 2025 · 11 comments · Fixed by #6071
Closed

[Bug] chat聊天框里多了很多我没设置的模型 #6066

coulsontl opened this issue Feb 13, 2025 · 11 comments · Fixed by #6071
Assignees
Labels
🐛 Bug Something isn't working | 缺陷 released

Comments

@coulsontl
Copy link
Contributor

📦 部署环境

Docker

📌 软件版本

v1.53.4

💻 系统环境

Ubuntu

🌐 浏览器

Chrome

🐛 问题描述

这是我设置里开启的模型列表

Image

实际展示的时候模型列表多了一些我没开启的模型

Image

📷 复现步骤

如上,环境变量没有设置 OPENAI_MODEL_LIST,渠道是openai,服务对接的是oneapi

🚦 期望结果

设置的模型列表和展示列表保持一致

📝 补充信息

No response

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

👀 @coulsontl

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

@lobehubbot
Copy link
Member

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


📦 Deployment environment

Docker

📌 Software version

v1.53.4

💻 System environment

Ubuntu

🌐 Browser

Chrome

🐛 Question description

This is the list of models that are enabled in my settings

Image

When actually displaying, there are more models that I didn't open.

Image

📷 Reproduction steps

As mentioned above, the environment variable is not set OPENAI_MODEL_LIST, the channel is openai, and the service is connected to oneapi

🚦 Expected results

The set model list and presentation list are consistent

📝 Supplementary information

No response

Copy link

dosubot bot commented Feb 13, 2025

I found a similar closed issue that might be relevant to your problem. The issue titled "关于配置环境变量NEXT_PUBLIC_CUSTOM_MODELS" was closed by a pull request that fixed environment variables like CUSTOM_MODELS not working with Docker deployment [1].

For your specific issue with version 1.53.4, it seems there might be a discrepancy between the models you have enabled and those displayed in the chat interface. This could be related to how the OPENAI_MODEL_LIST environment variable is configured or not configured. When this variable is not set, the default behavior is to have no specific models added or removed, which might lead to additional models being displayed by default [2].

To resolve this, you can explicitly set the OPENAI_MODEL_LIST environment variable to control which models are displayed. For example, you can disable all models by default and then enable only the ones you want by using the -all flag and the + prefix for specific models [3].

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

@liuchao0807
Copy link

同样的问题

@lobehubbot
Copy link
Member

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


Same problem

@Alencryenfo
Copy link

同样的问题

@lobehubbot
Copy link
Member

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


Same problem

@arvinxx
Copy link
Contributor

arvinxx commented Feb 13, 2025

看了下,修复中

@arvinxx arvinxx self-assigned this Feb 13, 2025
@lobehubbot
Copy link
Member

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


Check it out, it's being repaired

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

@coulsontl

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.53.6 🎉

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
Development

Successfully merging a pull request may close this issue.

5 participants