[FEATURE] 自定义的Model名称 Customized Model API
需求场景
当前前端OpenAI's API Compatible提供了base_url和api_key的自定义选项,但model name只能沿用PREDEFINED_CHAT_MODELS
尝试调整
- 在OpenAIAPICompatibleProvider中增加自定义的模型
sh quick_start.sh(还未确定是否是源码安装,调整后重新启动docker没看到效果)
Feature Request
Currently, the frontend for OpenAI's API Compatible allows customization of base_url and api_key, but the model name can only use PREDEFINED_CHAT_MODELS.
Attempted Adjustments
-
Tried adding a custom model in OpenAIAPICompatibleProvider
-
Ran sh
quick_start.sh(not sure if this is a source installation; after adjusting and restarting Docker, no effect was observed)
quick_start.sh 是拉取的官方几周前的镜像,用源码构建得cd ./deploy;docker compose up -d --build backend
quick_start.sh是拉取的官方几周前的镜像,用源码构建得cd ./deploy;docker compose up -d --build backend
大大考虑添加在前端的config吗,本地build了下感觉问题有点多😢
added by #70