{"version":"2.1.236","anchor":"bundled-guide-for-upgrading-the-anthropic-python-sdk-to-1-x","canonical_anchor":"bundled-guide-for-upgrading-the-anthropic-python-sdk-to-1-x","heading":"Bundled guide for upgrading the anthropic Python SDK to 1.x","tier":"use","area":"Docs","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.236\/e\/bundled-guide-for-upgrading-the-anthropic-python-sdk-to-1-x","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.236","markdown":"### Bundled guide for upgrading the anthropic Python SDK to 1.x\n\nA bundled guide walks your project through upgrading the anthropic Python SDK to 1.x.\n\n**What**\n\nA new reference document ships inside Claude Code, reached from the `\/claude-api upgrade` flow, walking a project through the 0.x to 1.x migration step by step.\n\n**Details**\n\n- Steps covered: bump the pin, raise the Python floor to 3.10, move `httpx` objects that cross the SDK boundary to the `httpx2` fork or call `httpx2.alias_httpx()` at an entry point, await `.with_raw_response` body reads on async clients, port `completions.create` plus `HUMAN_PROMPT`\/`AI_PROMPT` to Messages, drop `temperature`\/`top_p`\/`top_k`, rewrite raw `output_format={...}` as `output_config={\"format\": {...}}`, and supply an explicit Bedrock region.\n- The document is a plain text constant in the bundle with no gate around it.\n\n**Evidence**\n\n`# Upgrading the `anthropic` Python SDK: 0.x \u2192 1.x`\n\n- Area: Docs\n- Names: `\/claude-api upgrade`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5"}