Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否支持仅测试 API 站中配置的模型,而非上游渠道所有模型? #15

Open
moulai opened this issue Feb 23, 2025 · 2 comments

Comments

@moulai
Copy link

moulai commented Feb 23, 2025

如题,仅测试该渠道在 API 站中配置的模型,而非请求上游渠道所有模型。

另外,可否增加选项,仅测试,无论测试成功/失败,都不改变 API 站对于渠道模型的配置?

@DullJZ
Copy link
Owner

DullJZ commented Feb 24, 2025

  1. 在配置文件中有models字段,可以配置只测试的模型
  2. “不改变 API 站对于渠道模型的配置”的意思是,不修改数据库,只用于uptime-kuma可用性推送吗

@moulai
Copy link
Author

moulai commented Feb 24, 2025

  1. 在配置文件中有models字段,可以配置只测试的模型
  2. “不改变 API 站对于渠道模型的配置”的意思是,不修改数据库,只用于uptime-kuma可用性推送吗
  1. 我个人的使用习惯是为每个渠道要用的模型单独写名字并写重定向规则,比如 Azure/DeepSeek-R1 这样,如果要用 models 字段写的话要写非常多 QAQ,但实际上只有渠道配置好的模型才是想要的。有的源站可能有非常多模型,但是只有几个是想要用的。
  2. 是的,只用于 uptime-kuma 推送。不过这个我后来发现,用 uptime-kuma 监测 http 然后写一下 post 请求体,相当于请求 API 站,就可以实现我的需求了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants