diff options
| author | joshualitt <[email protected]> | 2025-08-18 13:28:15 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-18 20:28:15 +0000 |
| commit | d66ddcd82e09d7b6fbc0226e31d73d38db5cff2a (patch) | |
| tree | d78d3437feffc7eb3620f5e02f5489453b3766aa /packages/cli/src/nonInteractiveCli.ts | |
| parent | 91cd0db2b3e99f5829dbb6d09696333e9198cc9d (diff) | |
bug(core): Do not throw validation errors when building tools in `nonInteractiveToolExecutor`. (#6363)
Diffstat (limited to 'packages/cli/src/nonInteractiveCli.ts')
| -rw-r--r-- | packages/cli/src/nonInteractiveCli.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/cli/src/nonInteractiveCli.ts b/packages/cli/src/nonInteractiveCli.ts index f2efe8fc..b65bf15d 100644 --- a/packages/cli/src/nonInteractiveCli.ts +++ b/packages/cli/src/nonInteractiveCli.ts @@ -12,7 +12,6 @@ import { shutdownTelemetry, isTelemetrySdkInitialized, GeminiEventType, - ToolErrorType, parseAndFormatApiError, } from '@google/gemini-cli-core'; import { Content, Part, FunctionCall } from '@google/genai'; @@ -109,8 +108,6 @@ export async function runNonInteractive( console.error( `Error executing tool ${fc.name}: ${toolResponse.resultDisplay || toolResponse.error.message}`, ); - if (toolResponse.errorType === ToolErrorType.UNHANDLED_EXCEPTION) - process.exit(1); } if (toolResponse.responseParts) { |
