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] [Self-host Model] Custom model names - "Only ABC MODEL allowed now, your model gpt-3.5-turbo" #2192

Closed
zs-dima opened this issue Jun 29, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@zs-dima
Copy link

zs-dima commented Jun 29, 2023

Could be nice to add custom model names.
Currently client displays only gpt-4* and gpt-3* models available to select.
(qwen-v1, ernie, spark, llama, chatglm are not available to select)

For the self-host Models names could be different, this names can be queried */v1/models.
Currently actual self-host Models names are not displayed and it is no option to select it or enter manually.
So it leads to error:

  "object": "error",
  "message": "Only ABC MODEL allowed now, your model gpt-3.5-turbo",
  "code": 40301

Could be nice to add

  1. parameter to select default model name, so every user will not need to select it manually:
    docker run -e MODEL_NAME="ABC MODEL"
  2. query available model names */v1/models and display actual models names in settings.
@Yidadaa Yidadaa added the enhancement New feature or request label Jul 2, 2023
@Yidadaa Yidadaa closed this as completed in 4131fcc Jul 4, 2023
Yidadaa added a commit that referenced this issue Jul 4, 2023
feat: close #2192 use /list/models to get model ids
JMcn pushed a commit to JMcn/ChatGPT-Next-Web that referenced this issue Jul 30, 2023
alchemist139 pushed a commit to alchemist139/ChatGPT-Next-Web that referenced this issue Sep 21, 2023
alchemist139 pushed a commit to alchemist139/ChatGPT-Next-Web that referenced this issue Sep 21, 2023
chenzeyu pushed a commit to neutronsg/ChatGPT-Next-Web that referenced this issue Nov 8, 2023
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this issue May 16, 2024
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this issue May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants