模型行为官方发布自动监测

Anthropic Python SDK v1.5.0

Anthropic Python SDK v1.5.0 introduces Managed Agents updates (auto mode tool permissions and tokenless public GitHub repo mounting), adds support for passing tool objects directly to message endpoints, enforces tighter credential file permissions, and includes bug fixes for streaming and extra body merging.

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

Anthropic Python SDK v1.5.0 includes several feature additions and bug fixes across API bindings, credentials handling, and streaming. Highlights include: 1) Managed Agents updates: auto mode tool permissions and support for mounting public GitHub repositories without authorization tokens. 2) Tool handling: messages.create, parse, stream, and count tokens now accept tool objects directly. 3) Beta & API updates: added user-profiles-2026-09-04 beta value, external user details to user profiles, a content-too-large web fetch tool error code, and Message.to param() / BetaMessage.to param(). 4) Credentials & Security: introduces CredentialsError and IdentityTokenFileError, and now rejects credential files accessible by group or others. 5) Bug fixes: resolves extra body merging before client hooks run, prevents partial tool input JSON from staying on content blocks during streaming, and leaves parsed output out of dumped text blocks.

Agent 解析

可执行摘要

Anthropic Python SDK v1.5.0 adds auto mode tool permissions and token-free public GitHub mounting for Managed Agents, supports passing tool objects directly into messages.create/parse/stream/count tokens, adds the user-profiles-2026-09-04 beta, introduces CredentialsError/IdentityTokenFileError, and enforces file permission checks on credentials files.

Agent 实用度
82/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • Ensure file permissions on credentials files restrict access from group and others to prevent rejection by the SDK.
  • Optionally simplify tool definitions by passing tool objects directly to messages.create, parse, stream, and count tokens.
  • Review Managed Agents sessions to leverage auto mode tool permissions or token-free public GitHub repository mounts if applicable.
分类

标签与路由

anthropicsdkpython
相关信号

继续阅读