qwen-code/packages/server/src/core
Taylor Mullen f2f2ecf9d8 feat: Allow cancellation of in-progress Gemini requests and pre-execution checks
- Implements cancellation for Gemini requests while they are actively being processed by the model.
- Extends cancellation support to the  logic within tools. This allows users to cancel operations during the phase where the system is determining if a tool execution requires user confirmation, which can include potentially long-running pre-flight checks or LLM-based corrections.
- Underlying LLM calls for edit corrections (within  and ) and next speaker checks can now also be cancelled.
- Previously, cancellation of the main request was not possible until text started streaming, and pre-execution checks were not cancellable.
- This change leverages the updated SDK's ability to accept an abort token and threads s throughout the request, tool execution, and pre-execution check lifecycle.

Fixes https://github.com/google-gemini/gemini-cli/issues/531
2025-05-27 23:46:37 -07:00
..
__snapshots__ fix: do not retry cancelled tool calls (#504) 2025-05-23 17:30:09 +00:00
client.test.ts This commit introduces the hierarchical memory feature, allowing GEMI… (#327) 2025-05-14 12:37:17 -07:00
client.ts feat: Allow cancellation of in-progress Gemini requests and pre-execution checks 2025-05-27 23:46:37 -07:00
geminiChat.ts feat: Allow cancellation of in-progress Gemini requests and pre-execution checks 2025-05-27 23:46:37 -07:00
geminiRequest.ts Support Images and PDFs (#447) 2025-05-20 13:02:41 -07:00
logger.test.ts feat: Replace SQLite with JSON logging for macOS sandbox compatibility 2025-05-26 16:13:37 -07:00
logger.ts feat: Replace SQLite with JSON logging for macOS sandbox compatibility 2025-05-26 16:13:37 -07:00
prompts.test.ts This commit introduces the hierarchical memory feature, allowing GEMI… (#327) 2025-05-14 12:37:17 -07:00
prompts.ts fix: do not retry cancelled tool calls (#504) 2025-05-23 17:30:09 +00:00
turn.test.ts feat: Allow cancellation of in-progress Gemini requests and pre-execution checks 2025-05-27 23:46:37 -07:00
turn.ts feat: Allow cancellation of in-progress Gemini requests and pre-execution checks 2025-05-27 23:46:37 -07:00