/** * Shared reasoning-effort defaults for the SSH TUI. * * OpenCode / third-party (llm-pi-ai) routes carry no adapter-level reasoning * default. Without an explicit effort the model streams its thinking as plain * `text` chunks instead of `reasoning` blocks, so the TUI never receives the * data needed to render the collapsible `思考中` block. This helper picks a * supported default so the fold has data to show. * * `llm-deepseek` is not covered here: its adapter always reports a * `defaultEffort`, which the LLM runtime materializes into the request on its * own. Since the 0.5.1 STORE compliance trim dropped the bundle patch's * `reasoningEffort: max` row override, that adapter default is `high` unless a * deployment sets it (or `/effort` picks one, remembered per route). */ import { type LlmRuntime, type ReasoningEffortId } from '@deepseek-ai/dsh-llm'; /** * Pick a default reasoning effort for a provider/model when none is selected. * * Prefers the model's own `defaultEffort`, then `max` (matching the * `llm-deepseek` default), then the adapter's first supported non-`off` level. * Returns `undefined` when the route is unknown or the model reports no * reasoning support, preserving current behavior in those cases. */ export declare function defaultReasoningEffort(llm: LlmRuntime, provider: string, model: string): Promise;