chore: deprecate ToolResponseMessage in agent.resume API

Summary:

Test Plan:
This commit is contained in:
Eric Huang 2025-03-12 10:43:43 -07:00
parent 59dddafd12
commit 05493d5f03
5 changed files with 17 additions and 41 deletions

View file

@ -6405,16 +6405,11 @@ components:
type: object
properties:
tool_responses:
oneOf:
- type: array
items:
$ref: '#/components/schemas/ToolResponse'
- type: array
items:
$ref: '#/components/schemas/ToolResponseMessage'
type: array
items:
$ref: '#/components/schemas/ToolResponse'
description: >-
The tool call responses to resume the turn with. NOTE: ToolResponseMessage
will be deprecated. Use ToolResponse.
The tool call responses to resume the turn with.
stream:
type: boolean
description: Whether to stream the response.