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
40.96k stars 9.34k forks source link

[Bug] -language_model_settings 的 FEATURE_FLAGS 不起作用 #3123

Closed breakstring closed 2 months ago

breakstring commented 2 months ago

📦 部署环境

Vercel

📌 软件版本

1.2.3

💻 系统环境

macOS

🌐 浏览器

Other

🐛 问题描述

备注:客户端为 PWA 应用

在FEATURE_FLAGS里面设置了-language_model_settings 后,在客户端依然可以设置语言模型。

📷 复现步骤

  1. Vercel 部署时在环境变量里面设置 FEATURE_FLAGS 其中包含-language_model_settings
  2. 重新部署
  3. 重新打开客户端
  4. 进入应用设置,点击语言模型并修改 image image

🚦 期望结果

应该无法看到语言模型或者无法修改吧?抱歉不太熟悉咱们的代码,不太清楚这个 flag 具体的设定行为到底应该是怎样。

📝 补充信息

No response

lobehubbot commented 2 months ago

👀 @breakstring

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

arvinxx commented 2 months ago

去掉引号

lobehubbot commented 2 months ago

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


Remove quotation marks

breakstring commented 2 months ago

去掉引号

多谢,我试试看。。。。。我看文档里有个地方写着要加上引号防止解析错误 :(

lobehubbot commented 2 months ago

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


Remove quotes

Thanks, I'll give it a try. . . . . I saw that there is a place in the document that says to add quotation marks to prevent parsing errors. :(

breakstring commented 2 months ago

去掉引号

去掉引号后可以了。多谢。

lobehubbot commented 2 months ago

✅ @breakstring

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

lobehubbot commented 2 months ago

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


Remove quotes

It's OK after removing the quotation marks. Thank you.