ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
74.48k stars 58.73k forks source link

[Bug] default model, gpt-4-0125-preview #4990

Open h1xy opened 1 month ago

h1xy commented 1 month ago

Bug Description

设置了default model=gpt-4, 模型列表会多出个gpt-4(az) 设置了default model=gpt-4@openai, 该参数失效 gpt-4-0125-preview不被识别为(openai),而是识别为(custom)

Steps to Reproduce

设置了default model=gpt-4, 模型列表会多出个gpt-4(az) 设置了default model=gpt-4@openai, 该参数失效 gpt-4-0125-preview不被识别为(openai),而是识别为(custom)

Expected Behavior

设置了default model=gpt-4, 模型列表不应出现gpt-4(az) gpt-4-0125-preview被识别为(openai)

Screenshots

No response

Deployment Method

Desktop OS

No response

Desktop Browser

No response

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

lloydzhou commented 1 month ago

@语法现在只支持在CUSTOM_MODELS配置中识别,在default model配置项还不支持。

如果希望只出现gpt-4(OpenAI),可以使用CUSTOM_MODELS=-all,gpt-4@openai

Issues-translate-bot commented 1 month ago

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


The @ syntax is currently only supported in the CUSTOM_MODELS configuration, and is not supported in the default model configuration item.

If you want only gpt-4(OpenAI) to appear, you can use CUSTOM_MODELS=-all,gpt-4@openai

QAbot-zh commented 1 month ago

@语法现在只支持在CUSTOM_MODELS配置中识别,在default model配置项还不支持。

如果希望只出现gpt-4(OpenAI),可以使用CUSTOM_MODELS=-all,gpt-4@openai

@openai 语法目前只是用来区分 openai 和 azure 的相关模型吗,对于非标模型可以使用 @openai 语法来强制走 openai 的调用格式吗