fix: finalize deepfix p2 recall binding and p3 validation matrix

This commit is contained in:
Youzini-afk
2026-03-31 03:53:53 +08:00
parent a2bed39e28
commit b0f9d191bd
7 changed files with 465 additions and 20 deletions

View File

@@ -200,13 +200,14 @@ export async function onGenerationAfterCommandsController(
return;
}
const runtimeRecallOptions = recallContext.recallOptions || recallOptions || {};
runtime.markGenerationRecallTransactionHookState(
recallContext.transaction,
recallContext.hookName,
"running",
);
const recallResult = await runtime.runRecall({
...recallOptions,
...runtimeRecallOptions,
recallKey: recallContext.recallKey,
hookName: recallContext.hookName,
signal: params?.signal,
@@ -240,13 +241,14 @@ export async function onBeforeCombinePromptsController(runtime) {
return;
}
const runtimeRecallOptions = recallContext.recallOptions || recallOptions || {};
runtime.markGenerationRecallTransactionHookState(
recallContext.transaction,
recallContext.hookName,
"running",
);
const recallResult = await runtime.runRecall({
...recallOptions,
...runtimeRecallOptions,
recallKey: recallContext.recallKey,
hookName: recallContext.hookName,
});