Skip to content

Conversation

@pokey
Copy link
Owner

@pokey pokey commented Oct 8, 2025

Anthropic has a bug where if we pass them back one of their bash_code_execution_output blocks which contains a file output, they return a 500. I have reported the error to them, but in the meantime this works around the problem by dropping the problematic content blocks before we send them to anthropic

Also adds an integration test that exercises this PR as well as:

Fixes # (issue)

pokey and others added 30 commits September 30, 2025 11:14
Co-authored-by: Christian Bromann <git@bromann.dev>
…e formatting (langchain-ai#9097)

Co-authored-by: Hunter Lovell <40191806+hntrl@users.noreply.github.com>
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Christian Bromann <git@bromann.dev>
christian-bromann and others added 5 commits October 14, 2025 00:51
Anthropic has a bug where if we pass them back one of their bash_code_execution_output blocks which contains a file output, they return a 500. I have reported the error to them, but in the meantime this works around the problem by dropping the problematic content blocks before we send them to anthropic

Also adds an integration test that exercises this PR as well as:

- langchain-ai#9108
- langchain-ai#9109
@pokey pokey force-pushed the pokey/fix-anthropic-500 branch from 0dd69d5 to a62914c Compare October 14, 2025 11:29
@pokey pokey changed the base branch from pokey/bases/fix-anthropic-500 to v1 October 14, 2025 11:29
@pokey
Copy link
Owner Author

pokey commented Oct 14, 2025

closed in favour of langchain-ai#9177

@pokey pokey closed this Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants