@gguf/claw
Version:
Multi-channel AI gateway with extensible messaging integrations
23 lines (22 loc) • 1.99 kB
TypeScript
export type ThinkLevel = "off" | "minimal" | "low" | "medium" | "high" | "xhigh";
export type VerboseLevel = "off" | "on" | "full";
export type NoticeLevel = "off" | "on" | "full";
export type ElevatedLevel = "off" | "on" | "ask" | "full";
export type ElevatedMode = "off" | "ask" | "full";
export type ReasoningLevel = "off" | "on" | "stream";
export type UsageDisplayLevel = "off" | "tokens" | "full";
export declare function isBinaryThinkingProvider(provider?: string | null): boolean;
export declare const XHIGH_MODEL_REFS: readonly ["openai/gpt-5.2", "openai-codex/gpt-5.3-codex", "openai-codex/gpt-5.3-codex-spark", "openai-codex/gpt-5.2-codex", "openai-codex/gpt-5.1-codex", "github-copilot/gpt-5.2-codex", "github-copilot/gpt-5.2"];
export declare function normalizeThinkLevel(raw?: string | null): ThinkLevel | undefined;
export declare function supportsXHighThinking(provider?: string | null, model?: string | null): boolean;
export declare function listThinkingLevels(provider?: string | null, model?: string | null): ThinkLevel[];
export declare function listThinkingLevelLabels(provider?: string | null, model?: string | null): string[];
export declare function formatThinkingLevels(provider?: string | null, model?: string | null, separator?: string): string;
export declare function formatXHighModelHint(): string;
export declare function normalizeVerboseLevel(raw?: string | null): VerboseLevel | undefined;
export declare function normalizeNoticeLevel(raw?: string | null): NoticeLevel | undefined;
export declare function normalizeUsageDisplay(raw?: string | null): UsageDisplayLevel | undefined;
export declare function resolveResponseUsageMode(raw?: string | null): UsageDisplayLevel;
export declare function normalizeElevatedLevel(raw?: string | null): ElevatedLevel | undefined;
export declare function resolveElevatedMode(level?: ElevatedLevel | null): ElevatedMode;
export declare function normalizeReasoningLevel(raw?: string | null): ReasoningLevel | undefined;