Giter Club home page Giter Club logo

Comments (6)

nextchat-manager avatar nextchat-manager commented on July 22, 2024

Please follow the issue template to update title and description of your issue.

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on July 22, 2024

Bot detected the issue body's language is not English, translate it automatically.


Title: Cannot display custom model

from chatgpt-next-web.

code-october avatar code-october commented on July 22, 2024

这样就和预期不符了,部署的时候通过 -all 的行为就是允许网站管理者只开放部分模型使用,如果用户在前端自行添加模型名称就能调用所有模型,那管理者屏蔽了半天结果不起作用。
不过我认为用户在前端填入自定义接口和key的时候,自定义模型应该以前端配置为优先,而不是仍然按照环境变量的设置。

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on July 22, 2024

Bot detected the issue body's language is not English, translate it automatically.


This is inconsistent with expectations. The behavior of passing -all during deployment allows the website administrator to only open some models for use. If the user can call all models by adding the model name on the front end, then the administrator has blocked it for a long time and it will not work. .
However, I think that when users fill in custom interfaces and keys on the front end, the custom model should be configured as a priority, rather than still following the settings of environment variables.

from chatgpt-next-web.

curry-he avatar curry-he commented on July 22, 2024

@code-october 好的,明白了,就是目前模型列表是环境变量优先,所以前端自定义不起作用,如果前端显示的话,用户就可以通过自定义模型使用不在环境变量里的模型了,这样就不能限制用户了,对吧

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on July 22, 2024

Bot detected the issue body's language is not English, translate it automatically.


@code-october Okay, I understand, the current model list gives priority to environment variables, so front-end customization does not work. If displayed on the front-end, users can use custom models to use models that are not in the environment variables, so We can’t restrict users, right?

from chatgpt-next-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.