We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1、首先根据API URL及API KEY自动获取模型,例如20个。 2、人工定义所有获取到的模型优先级,用数字进行排序。 3、当默认模型出现问题尝试5次仍然出错自动切换到优先级最高的模型,依此类推,直到能够返回回复。
The text was updated successfully, but these errors were encountered:
我觉得最多做到同一个模型自动切换不同的 API 后端 / Key 就行了,这个当前是能做到随机切换的。
你的建议我认为有下面两个问题:
综上,与其耗费时间在切换模型上,不如直接选择几个稳定的 API 源来搭建你的 bot。
当然,如果你觉得这个功能真的很有必要,欢迎发 PR。
Sorry, something went wrong.
No branches or pull requests
1、首先根据API URL及API KEY自动获取模型,例如20个。
2、人工定义所有获取到的模型优先级,用数字进行排序。
3、当默认模型出现问题尝试5次仍然出错自动切换到优先级最高的模型,依此类推,直到能够返回回复。
The text was updated successfully, but these errors were encountered: