<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dev/gemini-cli/packages/server/src/core, branch v0.2.2</title>
<subtitle>[no description]</subtitle>
<id>http://cgit.wit.com/dev/gemini-cli/atom?h=v0.2.2</id>
<link rel='self' href='http://cgit.wit.com/dev/gemini-cli/atom?h=v0.2.2'/>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/'/>
<updated>2025-05-31T01:25:47Z</updated>
<entry>
<title>Rename server-&gt;core (#638)</title>
<updated>2025-05-31T01:25:47Z</updated>
<author>
<name>Tommaso Sciortino</name>
<email>sciortino@gmail.com</email>
</author>
<published>2025-05-31T01:25:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/commit/?id=21fba832d1b4ea7af43fb887d9b2b38fcf8210d0'/>
<id>urn:sha1:21fba832d1b4ea7af43fb887d9b2b38fcf8210d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: Implement retry with backoff for API calls (#613)</title>
<updated>2025-05-30T17:57:00Z</updated>
<author>
<name>N. Taylor Mullen</name>
<email>ntaylormullen@google.com</email>
</author>
<published>2025-05-30T17:57:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/commit/?id=8c46108a852128d1d0792c149746631d83fc58cf'/>
<id>urn:sha1:8c46108a852128d1d0792c149746631d83fc58cf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(server): consolidate adjacent model content in chat history</title>
<updated>2025-05-30T17:43:48Z</updated>
<author>
<name>Taylor Mullen</name>
<email>ntaylormullen@google.com</email>
</author>
<published>2025-05-30T06:53:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/commit/?id=9537ff476219486574fb6a50e54389a78beefe8e'/>
<id>urn:sha1:9537ff476219486574fb6a50e54389a78beefe8e</id>
<content type='text'>
- Consolidates consecutive model messages into a single message in the chat history.
- This prevents multiple model messages from being displayed in a row, improving readability.
- This may also address some instances of 500 errors that could have been caused by multiple, rapidly succeeding model messages.
- Adds tests for the new consolidation logic.

Fixes https://b.corp.google.com/issues/421010429
</content>
</entry>
<entry>
<title>Refactor read-file and support images. (#480)</title>
<updated>2025-05-29T22:30:18Z</updated>
<author>
<name>Jacob Richman</name>
<email>jacob314@gmail.com</email>
</author>
<published>2025-05-29T22:30:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/commit/?id=dab7517622527a70bf2f36a9d7a9fa5e1a3b56e0'/>
<id>urn:sha1:dab7517622527a70bf2f36a9d7a9fa5e1a3b56e0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: Allow cancellation of in-progress Gemini requests and pre-execution checks</title>
<updated>2025-05-28T06:46:37Z</updated>
<author>
<name>Taylor Mullen</name>
<email>ntaylormullen@google.com</email>
</author>
<published>2025-05-28T06:40:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/commit/?id=f2f2ecf9d83224778e5fc38cfcc4a1edddf9f7d4'/>
<id>urn:sha1:f2f2ecf9d83224778e5fc38cfcc4a1edddf9f7d4</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>fix: default to Gemini API if GEMINI_API_KEY is set and when GOOGLE_GENAI_USE_VERTEXAI is set to True (#566)</title>
<updated>2025-05-27T17:00:07Z</updated>
<author>
<name>sasha-gitg</name>
<email>44654632+sasha-gitg@users.noreply.github.com</email>
</author>
<published>2025-05-27T17:00:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/commit/?id=3511e84dc3ecdc121ca657e77859f302d514d271'/>
<id>urn:sha1:3511e84dc3ecdc121ca657e77859f302d514d271</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat: Replace SQLite with JSON logging for macOS sandbox compatibility</title>
<updated>2025-05-26T23:13:37Z</updated>
<author>
<name>Taylor Mullen</name>
<email>ntaylormullen@google.com</email>
</author>
<published>2025-05-26T22:59:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/commit/?id=b3f52e215a98835b752bd3ba3ec08ae44e480eda'/>
<id>urn:sha1:b3f52e215a98835b752bd3ba3ec08ae44e480eda</id>
<content type='text'>
- Removes the sqlite3 dependency and refactors the logging mechanism to use a JSON file (logs.json) instead of a database.
- This change is a temporary workaround to address issues with macOS sandboxing that were caused by the SQLite native module.
- Storing all logs in a single JSON file may introduce scalability concerns in the future.

Fixes https://github.com/google-gemini/gemini-cli/issues/522
</content>
</entry>
<entry>
<title>Fix(chat): Ensure model responds when next speaker check indicates</title>
<updated>2025-05-26T21:37:13Z</updated>
<author>
<name>Taylor Mullen</name>
<email>ntaylormullen@google.com</email>
</author>
<published>2025-05-26T21:33:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/commit/?id=c92d4edb8956e9040abf55060d90e52a1572f435'/>
<id>urn:sha1:c92d4edb8956e9040abf55060d90e52a1572f435</id>
<content type='text'>
- Corrects an issue where the `nextSpeakerCheck` would determine the model should speak next, but the models response was not properly propagated due to a missing `yield*` in a recursive call within `sendMessageStream`.
- This change ensures that when the model is designated as the next speaker, its generated content is correctly unwoven and returned, allowing the conversation to proceed as expected.

Part of https://github.com/google-gemini/gemini-cli/issues/551
</content>
</entry>
<entry>
<title>Fix(chat): Prevent empty model response after function call</title>
<updated>2025-05-26T21:29:24Z</updated>
<author>
<name>Taylor Mullen</name>
<email>ntaylormullen@google.com</email>
</author>
<published>2025-05-26T21:25:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/commit/?id=597dc86a9c7011b7f3288445b14abb11817424da'/>
<id>urn:sha1:597dc86a9c7011b7f3288445b14abb11817424da</id>
<content type='text'>
- Addresses a Gemini model bug where it may return an empty content object after a function response.
- Previously, the SDK attempted to inject an empty model message, which could disrupt curated history.
- This change modifies our custom  class to detect this scenario using an  utility and avoid pushing an unnecessary empty model message, thus preserving history integrity.

Workaround for https://b.corp.google.com/issues/420354090
Part of https://github.com/google-gemini/gemini-cli/issues/551
</content>
</entry>
<entry>
<title>Refactor(chat): Introduce custom Chat class for future modifications</title>
<updated>2025-05-26T21:20:28Z</updated>
<author>
<name>Taylor Mullen</name>
<email>ntaylormullen@google.com</email>
</author>
<published>2025-05-26T21:17:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.wit.com/dev/gemini-cli/commit/?id=480549e02ed4ae01c7df2abbd98bb0eb5b23bdd5'/>
<id>urn:sha1:480549e02ed4ae01c7df2abbd98bb0eb5b23bdd5</id>
<content type='text'>
- Copied the `Chat` class from `@google/genai` into `packages/server/src/core/geminiChat.ts`.
- This change is in preparation for future modifications to the chat handling logic.
- Updated relevant files to use the new `GeminiChat` class.

Part of https://github.com/google-gemini/gemini-cli/issues/551
</content>
</entry>
</feed>
