sub2api icon indicating copy to clipboard operation
sub2api copied to clipboard

[建议] 模型厂商越来越多 是不是将模型厂商插件化更合理。

Open yonghumeijj opened this issue 1 month ago • 3 comments

模型厂商越来越多 是不是将模型厂商插件化更合理。如果遇到新模型之类的只要添加插件,反正sub2api当初不是设计了插件系统么。好像也没见到啥插件。

纯猜测,没看过代码

yonghumeijj avatar Oct 16 '26 07:10 yonghumeijj

new-api有这个做法

777aca avatar Oct 16 '26 08:10 777aca

现在的插件化还比较弱,暂时还是只支持 OpenAI 的 OAuth 出站部分,用于防止 Codex 账户降智用的

你想到的设计要大改 sub2api 整体架构调整为插桩式的才可以

feeeei avatar Oct 16 '26 17:10 feeeei

涉及到重构整个系统的代码逻辑 作者不会同意的....

Marukoyo avatar Oct 18 '26 09:10 Marukoyo