mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-10 10:00:53 -07:00
fix: resolve Stage 2 rebase conflicts and restore non-breaking behavior
This commit is contained in:
@@ -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,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user