fix: resolve Stage 2 rebase conflicts and restore non-breaking behavior

This commit is contained in:
Aishanee Shah
2026-05-15 18:40:42 +00:00
parent 431155cf41
commit 3f44f7597e
2 changed files with 3 additions and 3 deletions
@@ -81,7 +81,7 @@ export async function exportHistoryToFile(
const {
messages,
filePath,
trajectories: _trajectories, // Collected but not yet included in Stage 1 JSON output
trajectories: _trajectories, // Collected but not yet included in Stage 2 JSON output
history: providedHistory,
} = options;
const extension = path.extname(filePath).toLowerCase();
+2 -2
View File
@@ -771,7 +771,7 @@ export class GeminiChat {
}
throw new AgentExecutionBlockedError(
beforeModelResult.reason || 'Model call blocked by hook',
beforeModelResult.reason || 'Agent execution blocked by hook',
syntheticResponse,
);
}
@@ -1208,7 +1208,7 @@ export class GeminiChat {
if (hookResult.blocked) {
throw new AgentExecutionBlockedError(
hookResult.reason || 'Model call blocked by hook',
hookResult.reason || 'Agent execution blocked by hook',
hookResult.response,
);
}