Anthropic Claude

可用模型清单:https://docs.anthropic.com/claude/docs/models-overview

import Agently
agent = (
    Agently.create_agent()
        .set_settings("current_model", "Claude")
        .set_settings("model.Claude.auth", { "api_key": "<Your-API-Key>" })
        # 如果需要切换模型,可参考模型清单: https://docs.anthropic.com/claude/docs/models-overview
        # 默认模型: claude-3-sonnet-20240229
        .set_settings("model.Claude.options", { "model": "claude-3-opus-20240229" })
)