Skip to content

release: 0.84.1#1209

Open
stainless-app[bot] wants to merge 6 commits intomainfrom
release-please--branches--main--changes--next
Open

release: 0.84.1#1209
stainless-app[bot] wants to merge 6 commits intomainfrom
release-please--branches--main--changes--next

Conversation

@stainless-app
Copy link
Contributor

@stainless-app stainless-app bot commented Feb 26, 2026

Automated Release PR

0.84.1 (2026-02-27)

Full Changelog: v0.84.0...v0.84.1

Bug Fixes

  • tool runner: propagate container_id for programmatic tool calling (#1462) (3ae7ff6)

Chores


This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app stainless-app bot requested a review from a team as a code owner February 26, 2026 17:24
@stainless-app
Copy link
Contributor Author

stainless-app bot commented Feb 26, 2026

🧪 Testing

To try out this version of the SDK, run:

pip install 'https://pkg.stainless.com/s/anthropic-python/3ae7ff6ff7af8a881706ae8068b1040a23c96fbd/anthropic-0.84.0-py3-none-any.whl'

Expires at: Sat, 28 Mar 2026 23:14:33 GMT
Updated at: Thu, 26 Feb 2026 23:14:33 GMT

…ng (#1462)

* fix(tool_runner): propagate container_id for programmatic tool calling

When using programmatic tool calling (PTC), the API returns a container_id
in the response that must be passed in subsequent requests. Without this,
the API returns an error:
'container_id is required when there are pending tool uses generated by
code execution with tools.'

This change updates both sync and async tool runners to extract the
container.id from responses and pass it in subsequent API calls.

* add a test, take container id from last message in the current state

---------

Co-authored-by: Stephanie Pang <stephanie@anthropic.com>
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 0a2edb8 to 3338e33 Compare February 26, 2026 23:14
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 3338e33 to 3f5f4b2 Compare February 27, 2026 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant