Skip to content

anthropic-beta and VertexAI #2512

@ehaca

Description

@ehaca

Hello folks,

I've been having issues with using claude 3.7 Sonnet and 4 in the VertexAI model garten becasue of the default anthropic-beta headers (see liked line).

If I uncomment the line or set the default to NOT_GIVEN the agent works just fine. Since I am probably missing lots of context I didn't go ahead and opened a new PR removing the line, but if needed/wanted, I am totally open to it, just let me know.

extra_headers.setdefault('anthropic-beta', 'code-execution-2025-05-22')

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions