Skip to content

Commit

Permalink
fix(api): add string to tool result block (#554)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jun 25, 2024
1 parent 8637e2b commit e4b52ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 2
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic-70873642f89316fbc45ceaccd3583971d0eb59d433f7864ca2fa8c321a320b4c.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic-ce067ae8303fa9b7aae2e8ebf0b6e9e41509f169ba93c1807e6ed9c9e541be1a.yml
2 changes: 1 addition & 1 deletion src/anthropic/types/tool_result_block_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ class ToolResultBlockParam(TypedDict, total=False):

type: Required[Literal["tool_result"]]

content: Iterable[Content]
content: Union[str, Iterable[Content]]

is_error: bool

0 comments on commit e4b52ce

Please sign in to comment.