Skip to content

[Bug]: BETA_BLOCKS_AVAILABLE outdated in Anthropic client #2324

@Manecas1221212

Description

@Manecas1221212

Describe the bug

In the anthropic client file you import the BetaTextBlock from deprecated files (from anthropic.types.beta.structured_outputs.beta_text_block import BetaTextBlock
from anthropic.types.beta.structured_outputs.beta_tool_use_block import BetaToolUseBlock)

But it should be anthropic.types.beta.beta_text_block only. The structured_outputs has been deprecated.

Please look at the anthropic sdk release

Steps to reproduce

No response

Model Used

No response

Expected Behavior

No response

Screenshots and logs

No response

Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions