Commit Graph

68 Commits

Author SHA1 Message Date
Sandy Tao 7c3a84075d Log flash continue (#4700) 2025-07-23 01:01:24 +00:00
Sandy Tao 67008d4643 Log when flash model decided to continue (#4698)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-23 00:31:57 +00:00
Brian Ray 258c848909 MCP OAuth Part 2 - MCP Client Integration (#4318)
Co-authored-by: Greg Shikhman <shikhman@google.com>
2025-07-22 13:34:56 +00:00
Josh Soref dc2ac144b7 Various spelling improvements (#3497)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Sandy Tao <sandytao520@icloud.com>
2025-07-21 21:54:44 +00:00
christine betts 1969d805f2 [ide-mode] Use active files and selected text in user prompt (#4614) 2025-07-21 20:52:02 +00:00
Tommaso Sciortino d7a57d85a3 Simplify streaming code for code assist server (#4619) 2025-07-21 20:44:43 +00:00
Sandy Tao 9dadf22958 Implement loop check with LLM (#4337)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-18 16:33:46 +00:00
Conrad Irwin 761ffc6338 Zed integration (#4266)
Co-authored-by: Agus Zubiaga <agus@zed.dev>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: mkorwel <matt.korwel@gmail.com>
2025-07-17 22:25:23 +00:00
christine betts cbda781f73 [ide-mode] Add active file to user model request (#4312) 2025-07-17 14:35:23 +00:00
christine betts 34c1b5811a Revert "[ide-mode] Thread active file through to system prompt" (#4308) 2025-07-16 16:22:29 +00:00
christine betts 222e362fc2 [ide-mode] Thread active file through to system prompt (#4264) 2025-07-15 22:20:00 +00:00
Sandy Tao 886faa2990 Log the 2 types of loop detection (#4193) 2025-07-15 04:44:07 +00:00
Sandy Tao 734da8b9d2 Introduce loop detection service that breaks simple loop (#3919)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-15 03:25:16 +00:00
Tommaso Sciortino 2f1d6234de Don't start uncompressed history with a function response (#4141) 2025-07-14 17:09:11 +00:00
Daniel Lee 5b6608ad84 feat(cli): add support for --prompt-interactive/-i flag (#1743) 2025-07-11 23:52:56 +00:00
anj-s 23197151c2 Summarize tool call outputs using tool specific summarizers (#3745) 2025-07-11 16:29:08 +00:00
anj-s c9e1e6d3bd Add support for specifying maxSessionTurns via the settings configuration (#3507) 2025-07-11 14:55:03 +00:00
Seth Troisi 8a128d8dc6 Add NO_BROWSER environment variable to trigger offline oauth flow (#3713) 2025-07-11 01:59:02 +00:00
uttamkanodia14 063481faa4 Adding TurnId to Tool call and API responses and error logs. (#3039)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-09 18:49:30 +00:00
Bryan Morgan 8a6509ffeb Remove auto-execution on Flash in the event of a 429/Quota failover (#3662)
Co-authored-by: Jenna Inouye <jinouye@google.com>
2025-07-09 17:55:56 +00:00
Bryan Morgan b0cce95286 Improve quota- and resource-related 429 error handling, also taking Code Assist customer tiers into consideration (#3609) 2025-07-09 14:18:15 +00:00
Tommaso Sciortino 0c70a99b56 Preserve recent history when compressing. (#3049)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-07-08 06:32:09 +00:00
SunskyXH ab63a5f183 fix(client): get model from config in flashFallbackHandler (#2118)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-03 19:43:48 +00:00
Vachan cd069fd436 Reduce the threshold for when we compress history. (#2898) 2025-07-02 00:18:13 +00:00
Bryan Morgan dbe88f6e0e Added support for session_id in API calls (#2886) 2025-07-01 23:16:09 +00:00
Allen Hutchison e94decea39 feat(core): Add infinite loop protection to client (#2793) 2025-07-01 23:09:21 +00:00
Tommaso Sciortino 3587054d32 Rename AuthType LOGIN_WITH_GOOGLE_PERSONAL -> LOGIN_WITH_GOOGLE (#2769) 2025-07-01 00:11:54 +00:00
Tommaso Sciortino 0ca5c07135 Use structured prompt for compression. (#2747) 2025-07-01 00:04:33 +00:00
Noritaka Kobayashi 19a0276142 refactor: remove unnecessary "await" (#2574) 2025-06-29 19:15:27 +00:00
Noritaka Kobayashi b980a47879 refactor: remove imported multiple times (#1846) 2025-06-29 09:09:15 +00:00
Tommaso Sciortino a2a46c7c67 Add privacy notice slash command (#2059) 2025-06-27 19:07:38 +00:00
Bryan Morgan 560905154c Updating the first user message to mention the product name (#2037) 2025-06-26 22:32:19 +00:00
Bryan Morgan bb797ded7d 429 fix (#1668) 2025-06-26 01:45:38 +00:00
Tommaso Sciortino 79c647d486 Merge "Login with Google Workspace" auth option into "Login with Google" (#1574)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-25 22:38:18 +00:00
Bryan Morgan e356949d3f [JUNE 25] Permanent failover to Flash model for OAuth users after persistent 429 errors (#1376)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-24 22:48:55 +00:00
Tommaso Sciortino 0abd2a644e Improve Auth error messaging (#1358) 2025-06-24 01:37:41 +00:00
matt korwel 04518b52c0 Auth First Run (#1207)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-06-19 16:52:22 -07:00
Abhi 0125547215 bug: removes raw api response from stdout (#1224) 2025-06-19 16:26:31 -04:00
Tommaso Sciortino 8bc3b415c9 Refactor in preparation for Reauth (#1196) 2025-06-18 16:34:00 -07:00
Jacob MacDonald e59c872b3d code review followup for compress command (#1097)
Followup to https://github.com/google-gemini/gemini-cli/pull/986
2025-06-17 15:44:54 +00:00
Abhi 6af7a5c589 feat: clear should also clear chat history (#1008) 2025-06-16 06:33:59 +00:00
Asad Memon 123ad20e9b feat: Show model thoughts while loading (#992) 2025-06-15 18:19:05 +00:00
Anas H. Sulaiman 4873fce791 centralize file filtering in FileDiscoveryService (#1039) 2025-06-14 14:25:34 +00:00
Jacob MacDonald d5c6bb9740 Add /compress command to force a compression of the context (#986)
Related to https://b.corp.google.com/issues/423605555 - I figured this might be a simpler solution to start with, while still also being useful on its own even if we do implement that.
2025-06-14 04:21:40 +00:00
Anas H. Sulaiman 084b58a50e reuse filtering service in getFolderStructure (#1016) 2025-06-13 14:26:31 -04:00
N. Taylor Mullen 7bcc60e996 refactor: Use default centralized Flash & Pro models everywhere (#994) 2025-06-13 08:25:42 +00:00
Marat Boshernitsan 181abde2ff Reduce coupling between core and cli packages (#961)
Co-authored-by: Marat Boshernitsan <maratb@google.com>
2025-06-12 17:17:29 -07:00
Jerop Kipruto 3c3da655b0 Refactor OTEL logging for API calls (#991)
Refactor OpenTelemetry logging for API requests, responses, and errors. Moved logging responsibility from GeminiClient to GeminiChat for more detailed logging.

#750
2025-06-12 16:36:51 -07:00
Louis Jimenez e0f4f428fc Restore Checkpoint Feature (#934) 2025-06-11 15:33:09 -04:00
jerop 03bc1f3141 feat(telemetry): Update API response in telemetry
Adds the text content of the API response to the  telemetry event. This provides more context for debugging and analysis without logging the entire, potentially large, response object.

- Adds an optional  field to the  type.
- Updates  to include the  field in the logged attributes.
- Modifies the  to extract the response text using  and pass it to the logger.
- Adds a new test file for the telemetry loggers, including tests for the  function to verify the new functionality.
2025-06-11 14:18:16 -04:00