返回全部动态
Anthropic Python SDK v2.4.0 发布
原标题:v2.4.0
AI 摘要
Anthropic 发布 Python SDK v2.4.0,新增分析、支出限额和 RBAC 的 GA 方法,补充统一指标与 RBAC 删除响应的命名 beta 类型,并加入 tool_use_limit_reached_error 等会话错误类型。同时修复 spend_limit 可空性、分析字段必填等 API 问题,并更新文档与示例。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
### Features * **api:** add GA methods for analytics, spend limits and RBAC * **api:** add named beta types for unified metrics and RBAC delete responses * **api:** add shared analytics order and increase request actor types * **api:** add tool_use_limit_reached_error and compaction_limit_reached_error session error types * **api:** add types for analytics group_by and spend limit period filters * **api:** add user_profile_id to External Keys and Workspaces ### Bug Fixes * **api:** make spen
发布时间:2026-11-03 03:07
抓取时间:2026-11-03 03:14
来源机构:Anthropic