feat: allow hook model overrides

This commit is contained in:
Peter Steinberger
2026-01-08 09:33:27 +00:00
parent e6f8e1e531
commit 73988506fe
12 changed files with 207 additions and 3 deletions

View File

@@ -41,6 +41,7 @@ type HookDispatchers = {
| "signal"
| "imessage";
to?: string;
model?: string;
thinking?: string;
timeoutSeconds?: number;
}) => string;
@@ -177,6 +178,7 @@ export function createHooksRequestHandler(
deliver: mapped.action.deliver === true,
provider: mapped.action.provider ?? "last",
to: mapped.action.to,
model: mapped.action.model,
thinking: mapped.action.thinking,
timeoutSeconds: mapped.action.timeoutSeconds,
});