mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-27 11:47:46 -07:00
feat: switch to Version 2.0 session bundle format (Stage 3)
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