Files
oh-my-opencode/dist/hooks/anthropic-effort/hook.d.ts
T
2026-03-14 04:56:50 +00:00

27 lines
550 B
TypeScript

interface ChatParamsInput {
sessionID: string;
agent: {
name?: string;
};
model: {
providerID: string;
modelID: string;
};
provider: {
id: string;
};
message: {
variant?: string;
};
}
interface ChatParamsOutput {
temperature?: number;
topP?: number;
topK?: number;
options: Record<string, unknown>;
}
export declare function createAnthropicEffortHook(): {
"chat.params": (input: ChatParamsInput, output: ChatParamsOutput) => Promise<void>;
};
export {};