Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 126 additions & 3 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3586,6 +3586,7 @@ components:
- $ref: '#/components/schemas/OpenAIResponseCustomToolCallOutput'
- $ref: '#/components/schemas/ApplyPatchCallItem'
- $ref: '#/components/schemas/ApplyPatchCallOutputItem'
- $ref: '#/components/schemas/ConfigurationUpdateItem'
type: 'array'
- type: 'null'
example:
Expand Down Expand Up @@ -5972,6 +5973,20 @@ components:
name: 'Assistant Config'
role: 'system'
properties:
configuration_update:
additionalProperties: false
description: 'OpenRouter extension. Changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding turns. Place it on a content-less system message (`content: ""`) directly before the user message it should apply to, and keep it at that position in later requests. Equivalent to the OpenAI Responses `configuration_update` input item and the Anthropic Messages per-message `output_config.effort`.'
example:
reasoning:
effort: 'low'
properties:
reasoning:
$ref: '#/components/schemas/ConfigurationUpdateReasoning'
required:
- 'reasoning'
type:
- 'object'
- 'null'
content:
anyOf:
- type: 'string'
Expand Down Expand Up @@ -6630,6 +6645,48 @@ components:
- 'display_width'
- 'environment'
type: 'object'
ConfigurationUpdateItem:
description: 'Changes reasoning effort from this point in the conversation onward without invalidating the prompt cache for the preceding items. Place it before the user message it should apply to; it stays in effect until another configuration update. Two adjacent configuration updates are rejected. Only supported by models that accept mid-conversation effort changes.'
example:
reasoning:
effort: 'low'
type: 'configuration_update'
properties:
id:
type:
- 'string'
- 'null'
reasoning:
$ref: '#/components/schemas/ConfigurationUpdateReasoning'
type:
enum:
- 'configuration_update'
type: 'string'
required:
- 'type'
- 'reasoning'
type: 'object'
ConfigurationUpdateReasoning:
additionalProperties: false
description: 'Reasoning settings applied from this point in the conversation onward'
example:
effort: 'low'
properties:
effort:
description: 'Reasoning effort to apply from this point in the conversation onward'
enum:
- 'max'
- 'xhigh'
- 'high'
- 'medium'
- 'low'
- 'minimal'
- 'none'
example: 'low'
type: 'string'
required:
- 'effort'
type: 'object'
ConflictResponse:
description: 'Conflict - Resource conflict or concurrent modification'
example:
Expand Down Expand Up @@ -11660,6 +11717,7 @@ components:
- $ref: '#/components/schemas/ItemReferenceItem'
- $ref: '#/components/schemas/AdditionalToolsItem'
- $ref: '#/components/schemas/AgentMessageItem'
- $ref: '#/components/schemas/ConfigurationUpdateItem'
type: 'array'
description: 'Input for a response request - can be a string or array of items'
example:
Expand Down Expand Up @@ -12507,9 +12565,7 @@ components:
arguments:
type: 'string'
error:
type:
- 'string'
- 'null'
$ref: '#/components/schemas/McpToolCallError'
id:
type: 'string'
name:
Expand All @@ -12531,6 +12587,26 @@ components:
- 'arguments'
- 'server_label'
type: 'object'
McpHttpError:
description: 'The MCP server request failed at the HTTP layer'
example:
code: 503
message: 'Service Unavailable'
type: 'http_error'
properties:
code:
type: 'integer'
message:
type: 'string'
type:
enum:
- 'http_error'
type: 'string'
required:
- 'type'
- 'code'
- 'message'
type: 'object'
McpListToolsItem:
description: 'List of available MCP tools from a server'
example:
Expand Down Expand Up @@ -12582,6 +12658,26 @@ components:
- 'server_label'
- 'tools'
type: 'object'
McpProtocolError:
description: 'The MCP server returned a protocol-level error'
example:
code: -32601
message: 'Method not found'
type: 'mcp_protocol_error'
properties:
code:
type: 'integer'
message:
type: 'string'
type:
enum:
- 'mcp_protocol_error'
type: 'string'
required:
- 'type'
- 'code'
- 'message'
type: 'object'
McpServerTool:
description: 'MCP (Model Context Protocol) tool configuration'
example:
Expand Down Expand Up @@ -12661,6 +12757,32 @@ components:
- 'type'
- 'server_label'
type: 'object'
McpToolCallError:
anyOf:
- type: 'string'
- $ref: '#/components/schemas/McpProtocolError'
- $ref: '#/components/schemas/McpToolExecutionError'
- $ref: '#/components/schemas/McpHttpError'
- type: 'null'
description: 'Error from an MCP tool call, either a plain message or a structured error'
example:
code: 503
message: 'Service Unavailable'
type: 'http_error'
McpToolExecutionError:
description: 'The MCP tool ran but reported a failure'
example:
content: 'Connection refused'
type: 'mcp_tool_execution_error'
properties:
content: {}
type:
enum:
- 'mcp_tool_execution_error'
type: 'string'
required:
- 'type'
type: 'object'
MemberAssignment:
example:
assigned_by: 'user_abc123'
Expand Down Expand Up @@ -23001,6 +23123,7 @@ components:
- 'failed_to_download_image'
- 'image_file_not_found'
- 'bio_policy'
- 'misalignment_policy_violation'
- 'data_residency_mismatch'
type: 'string'
message:
Expand Down
Loading