Skip to content

Commit

Permalink
fix(api): add string to tool result block (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Jun 25, 2024
1 parent 4328cbf commit 87af4e9
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/resources/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export interface ToolResultBlockParam {

type: 'tool_result';

content?: Array<TextBlockParam | ImageBlockParam>;
content?: string | Array<TextBlockParam | ImageBlockParam>;

is_error?: boolean;
}
Expand Down

0 comments on commit 87af4e9

Please sign in to comment.