ChatGPTNextWeb / ChatGPT-Next-Web

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

配置自定义ChatGPT模型时能否支持接口连接验证和获取可用模型列表 #4813

Open markintouch opened 4 weeks ago

markintouch commented 4 weeks ago

Problem Description

目前自定义ChatGPT地址时需要手动输入模型列表,输入麻烦易错,而且多数时候无法知道接口实际支持的模型列表。

Solution Description

调用API标准测试接口,客户端界面增加按钮支持接口验证,同时获取接口支持的模型列表,自动填入客户端模型列表。

Alternatives Considered

通常ChatGPT兼容API都有测试接口可用。

Additional Context

可以极大提升用户体验和应用可用性。

nextchat-manager[bot] commented 4 weeks ago

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

Issues-translate-bot commented 4 weeks ago

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


Title: Can interface connection verification and obtaining the list of available models be supported when configuring a custom ChatGPT model?

Problem Description

Currently, when customizing the ChatGPT address, you need to manually enter the model list, which is troublesome and error-prone, and most of the time it is impossible to know the model list actually supported by the interface.

Solution Description

Call the API standard test interface, add a button to the client interface to support interface verification, obtain the model list supported by the interface, and automatically fill in the client model list.

Alternatives Considered

Usually ChatGPT compatible APIs have test interfaces available.

Additional Context

It can greatly improve user experience and application usability.

code-october commented 3 weeks ago

可以参考这个pr : https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4815

Issues-translate-bot commented 3 weeks ago

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


You can refer to this PR: https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4815