import type { MossAgentConfig } from '../core/index.js'; import type { ResolvedCliConfig } from './config.js'; /** * Derive a reasonable max output tokens from the context window when the user * hasn't pinned one. ~1/4 of the context window, hard-capped at 8k so short * coding/chat turns don't pay for a 32k/128k reservation (many gateways * schedule slower when max_tokens is huge). Pin `agent.maxOutputTokens` when * a task truly needs longer single-shot answers. * * @public */ export declare const DEFAULT_MAX_OUTPUT_TOKENS_CAP = 8192; export declare function deriveMaxOutputTokens(contextTokens: number | undefined): number | undefined; export declare function resolveCliAgentRuntimeOptions(config: ResolvedCliConfig): Pick; //# sourceMappingURL=agent-runtime.d.ts.map