feat: allow hook model overrides
This commit is contained in:
1 parent
e6f8e1e531
commit
73988506fe
12 files changed
+207
-3
No files matched your search
@@ -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,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user