UNPKG

recoder-shared

Version:

Shared types, utilities, and configurations for Recoder

21 lines 744 B
/** * Reasoning and budget utilities */ import type { ModelInfo, ProviderSettings } from 'roo-code-types'; export declare const DEFAULT_HYBRID_REASONING_MODEL_MAX_TOKENS = 16384; export declare const DEFAULT_HYBRID_REASONING_MODEL_THINKING_TOKENS = 8192; export declare function shouldUseReasoningBudget(modelOrOptions: string | { model: ModelInfo; settings: ProviderSettings; }): boolean; export declare function shouldUseReasoningEffort(options: { model: ModelInfo; settings: ProviderSettings; }): boolean; export declare function getModelMaxOutputTokens(options: { modelId: string; model: ModelInfo; settings: ProviderSettings; format: string; }): number | undefined; //# sourceMappingURL=reasoning.d.ts.map