chatgpt-web-dev / chatgpt-web

A third-party ChatGPT Web UI page built with Express and Vue3, through the official OpenAI completion API. / 用 Express 和 Vue3 搭建的第三方 ChatGPT 前端页面, 基于 OpenAI 官方 completion API.
https://chatgpt-web.dev
MIT License
1.61k stars 441 forks source link

功能改进建议: 大佬是否可以增加给每个key单独设置API地址的功能 #369

Closed liuchao0807 closed 8 months ago

liuchao0807 commented 10 months ago

当前有部分key来源于不同的第三方,api的url都不一致,切换起来比较麻烦 建议:每个key的配置里增加一个api url的配置,如果没填则使用全局设置里的地址

a8500830 commented 9 months ago

同意,很好的功能

Kerwin1202 commented 8 months ago
image
a8500830 commented 8 months ago
image

问题又来了,设置的这个api地址,和基础配置里的接口地址重合了,目前还是以基础配置里的地址为准。如果基础配置的token失效了,切换地址还是需要把token的api替换过去

Kerwin1202 commented 8 months ago

默认如果不写 是以基础配置里的,如果写了是优先 这个单独的

a8500830 commented 8 months ago

确实可可以了,是我代理的问题

Kerwin1202 @.***>于2024年1月1日 周一下午2:26写道:

默认如果不写 是以基础配置里的,如果写了是优先 这个单独的

— Reply to this email directly, view it on GitHub https://github.com/Kerwin1202/chatgpt-web/issues/369#issuecomment-1873181877, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHB6ZXSN3C4UV5PC3YOMBPTYMJJHPAVCNFSM6AAAAAA7RB4J2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZTGE4DCOBXG4 . You are receiving this because you commented.Message ID: @.***>