UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

14 lines • 981 B
import type { Api, Model, ThinkingLevel } from "@earendil-works/pi-ai/compat"; /** * Reasoning level for the first title request. Titles stay reasoning-free unless the catalog * says the model cannot turn reasoning off; then the lowest supported level is requested, because * an unset level maps to the provider's "disabled" value, which those endpoints reject with 400. */ export declare function initialTitleReasoning(model: Model<Api>): ThinkingLevel | undefined; /** * Reasoning level for one retry after a reasoning-free title request was rejected because the * endpoint mandates reasoning, which means its catalog entry is stale. `low` is the effort every * such endpoint seen so far accepts, clamped to what the catalog still allows. */ export declare function mandatoryReasoningRetryLevel(model: Model<Api>, sentReasoning: ThinkingLevel | undefined, errorMessage: string | undefined): ThinkingLevel | undefined; //# sourceMappingURL=session-title-reasoning.d.ts.map