Uerben

Results 1 issues of Uerben

目前我本地安装的版本 Agently==3.0.4 agent = ( Agently.create_agent() .set_settings("current_model", "OAIClient") .set_settings("model.OAIClient.auth.api_key", "sk-3f10906a8c054a5a9cf0a7a4abe27e8a") # 使用DashScope专门适配的API Base URL .set_settings("model.OAIClient.url", "https://dashscope.aliyuncs.com/compatible-mode/v1") # 如果需要切换模型,可参考模型清单:https://help.aliyun.com/zh/dashscope/developer-reference/openai-file-interface .set_settings("model.OAIClient.options.model", "qwen-turbo") ) result = ( agent # general: agent应该知道的全局信息,通常被视作system prompt或类似位置的信息 .general("输出规定",...