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
Agently.AgentFactory() .set_settings("current_model", "OAIClient") .set_settings("model.OAIClient.auth.api_key", "nothing") .set_settings("model.OAIClient.options", {"model": "my-llm"}) .set_settings("model.OAIClient.url", "http://127.0.0.1:9997/v1")
The text was updated successfully, but these errors were encountered:
就是"OAIClient",这个参数决定的是你用哪个模型插件进行模型请求
Sorry, something went wrong.
就是"OAIClient",这个参数决定的是你用哪个模型插件进行模型请求 是不是可以理解为这个参数两个参数值,一个OpenAI代表调用在线模型,一个OAIClient代表本地模型?
不是,OAIClient是Agently框架为OpenAI-Like的模型提供的特殊的请求方案,兼容了一些常见的消息规范
No branches or pull requests
Agently.AgentFactory()
.set_settings("current_model", "OAIClient")
.set_settings("model.OAIClient.auth.api_key", "nothing")
.set_settings("model.OAIClient.options", {"model": "my-llm"})
.set_settings("model.OAIClient.url", "http://127.0.0.1:9997/v1")
The text was updated successfully, but these errors were encountered: