diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index a7f89a8f..218cf078 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -231,20 +231,6 @@ components: - 'role' - 'tools' type: 'object' - AdvisorNestedTool: - additionalProperties: {} - description: 'A tool made available to the advisor sub-agent. Only OpenRouter server tools (e.g. openrouter:web_search) are supported; function tools are rejected because the advisor has no way to execute them. The advisor tool may not list itself.' - example: - type: 'openrouter:web_search' - properties: - parameters: - additionalProperties: {} - type: 'object' - type: - type: 'string' - required: - - 'type' - type: 'object' AdvisorReasoning: description: 'Reasoning configuration forwarded to the advisor call. Use this to control reasoning effort and token budget for models that support extended thinking.' example: @@ -266,7 +252,7 @@ components: type: 'integer' type: 'object' AdvisorServerTool_OpenRouter: - description: 'OpenRouter built-in server tool: consults a higher-intelligence advisor model (any OpenRouter model) for guidance mid-generation and returns its response. The advisor may run as a sub-agent with its own tools. Include multiple entries to offer several named advisors; at most one entry may omit `name` to act as the default advisor.' + description: 'OpenRouter built-in server tool: consults a higher-intelligence advisor model (any OpenRouter model) for guidance mid-generation and returns its response. Include multiple entries to offer several named advisors; at most one entry may omit `name` to act as the default advisor.' example: parameters: model: '~anthropic/claude-opus-latest' @@ -300,14 +286,8 @@ components: description: 'Maximum number of output tokens (including reasoning) the advisor may produce. When omitted, the provider''s default applies.' example: 2048 type: 'integer' - max_tool_calls: - description: 'Maximum number of tool-calling steps the advisor sub-agent may take during its agentic loop. Capped at 25. Only relevant when the advisor is given tools.' - example: 5 - maximum: 25 - minimum: 1 - type: 'integer' model: - description: 'Slug of the advisor model to consult (any OpenRouter model). When omitted, the executor can choose it via the tool call''s `model` argument; if neither is set, the model from the outer API request is used. The advisor tool itself cannot be the advisor model.' + description: 'Slug of the advisor model to consult (any OpenRouter model). When omitted, the executor can choose it via the tool call''s `model` argument; if neither is set, the model from the outer API request is used.' example: '~anthropic/claude-opus-latest' type: 'string' name: @@ -328,11 +308,6 @@ components: example: 0.7 format: 'double' type: 'number' - tools: - description: 'Tools the advisor sub-agent may use while forming its advice. The advisor runs as an agentic sub-agent over these tools, then returns its text. Only OpenRouter server tools are supported — function tools are rejected — and the list must not include the advisor tool itself.' - items: - $ref: '#/components/schemas/AdvisorNestedTool' - type: 'array' type: 'object' AgentMessageItem: additionalProperties: {}