import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; /** * Reasoning effort level for panelist and judge inner calls. */ export declare const FusionServerToolConfigEffort: { readonly Xhigh: "xhigh"; readonly High: "high"; readonly Medium: "medium"; readonly Low: "low"; readonly Minimal: "minimal"; readonly None: "none"; }; /** * Reasoning effort level for panelist and judge inner calls. */ export type FusionServerToolConfigEffort = OpenEnum; /** * Reasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort and token budget for models that support extended thinking. */ export type FusionServerToolConfigReasoning = { /** * Reasoning effort level for panelist and judge inner calls. */ effort?: FusionServerToolConfigEffort | undefined; /** * Maximum number of reasoning tokens each panelist and judge model may use. Helps bound cost when models allocate too much budget to chain-of-thought. */ maxTokens?: number | undefined; }; /** * Configuration for the openrouter:fusion server tool. */ export type FusionServerToolConfig = { /** * Slugs of models to run in parallel as the analysis panel. Each model receives the user prompt with openrouter:web_search and openrouter:web_fetch enabled, then a judge model summarizes the collective output into structured analysis JSON. Capped at 8 models to bound cost amplification. Defaults to the Quality preset from /labs/fusion. */ analysisModels?: Array | undefined; /** * Maximum number of output tokens (including reasoning tokens) each panelist and the judge model may produce per inner call. Controls the total output budget so reasoning-heavy models like GPT-5.5 do not exhaust their token allowance before producing visible text. When omitted, the provider's default applies. */ maxCompletionTokens?: number | undefined; /** * Maximum number of tool-calling steps each panelist (analysis model) and the judge model may take during their agentic web-research loop. Models with web_search/web_fetch enabled iterate until they produce a text response or hit this ceiling. Defaults to 8. Capped at 16. */ maxToolCalls?: number | undefined; /** * Slug of the judge model that produces the structured analysis JSON. Defaults to the model used in the outer API request. */ model?: string | undefined; /** * Reasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort and token budget for models that support extended thinking. */ reasoning?: FusionServerToolConfigReasoning | undefined; /** * Sampling temperature forwarded to panelist and judge inner calls. When omitted, the provider's default applies. */ temperature?: number | undefined; }; /** @internal */ export declare const FusionServerToolConfigEffort$outboundSchema: z.ZodType; /** @internal */ export type FusionServerToolConfigReasoning$Outbound = { effort?: string | undefined; max_tokens?: number | undefined; }; /** @internal */ export declare const FusionServerToolConfigReasoning$outboundSchema: z.ZodType; export declare function fusionServerToolConfigReasoningToJSON(fusionServerToolConfigReasoning: FusionServerToolConfigReasoning): string; /** @internal */ export type FusionServerToolConfig$Outbound = { analysis_models?: Array | undefined; max_completion_tokens?: number | undefined; max_tool_calls?: number | undefined; model?: string | undefined; reasoning?: FusionServerToolConfigReasoning$Outbound | undefined; temperature?: number | undefined; }; /** @internal */ export declare const FusionServerToolConfig$outboundSchema: z.ZodType; export declare function fusionServerToolConfigToJSON(fusionServerToolConfig: FusionServerToolConfig): string; //# sourceMappingURL=fusionservertoolconfig.d.ts.map