acp: Supress gemini aborted errors (#36633)

This PR adds a temporary workaround to supress "Aborted" errors from
Gemini when cancelling generation. This won't be needed once
https://github.com/google-gemini/gemini-cli/pull/6656 is generally
available.

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga 2025-08-20 19:30:25 -03:00 committed by GitHub
parent 5120b6b7f9
commit ffb995181e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 60 additions and 7 deletions

4
Cargo.lock generated
View file

@ -171,9 +171,9 @@ dependencies = [
[[package]]
name = "agent-client-protocol"
version = "0.0.28"
version = "0.0.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c887e795097665ab95119580534e7cc1335b59e1a7fec296943e534b970f4ed"
checksum = "89a2cd7e0bd2bb7ed27687cfcf6561b91542c1ce23e52fd54ee59b7568c9bd84"
dependencies = [
"anyhow",
"futures 0.3.31",