Skip to content

如何自定义下拉列表 #595

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

Open
zu-ke opened this issue Feb 10, 2025 · 3 comments
Open

如何自定义下拉列表 #595

zu-ke opened this issue Feb 10, 2025 · 3 comments

Comments

@zu-ke
Copy link

zu-ke commented Feb 10, 2025

你好,这个下拉列表可选模型怎么自定义?
xx
下面是我的docker-compose.yml文件:

version: '3'

services:
  gptweb:
    container_name: chatgpt-web-midjourney-proxy
    image: ydlhero/chatgpt-web-midjourney-proxy 
    ports:
      - xxxx:3002
    environment:
      TZ: Asia/Shanghai # 指定时区
      # 必选
      OPENAI_API_KEY: sk-xxxx
      # HIDE_SERVER 隐藏服务端 1,可选
      # HIDE_SERVER: 1
      # UPLOAD_IMG_SIZE gpt-4-version 图片上传大小 单位是兆 注意别带单位 最好别超过10 
      UPLOAD_IMG_SIZE: 50
      # 支持上传
      API_UPLOADER: 1
      # 上传方式
      UPLOAD_TYPE: Container
      # 禁用菜单
      MENU_DISABLE: music,video,dance,realtime
      # 识图模型
      VISION_MODEL: gpt-4o
      # 自定义可选模型
      CUSTOM_MODELS: gpt-4o,gemini-2.0-flash
@Dooy
Copy link
Owner

Dooy commented Feb 21, 2025

就这个参数 CUSTOM_MODELS

@zu-ke
Copy link
Author

zu-ke commented Feb 21, 2025

就这个参数 CUSTOM_MODELS

你好,没生效😂

@zu-ke
Copy link
Author

zu-ke commented Feb 21, 2025

就这个参数 CUSTOM_MODELS

如果能根据令牌和接口自动获取支持的模型,替换掉下拉列表就好了,期待

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants