What does this even mean?!
I have no own programs using this API. I do use the gemini command client in Ubuntu though.
I guess Googles own commandline client “gemini” uses this API, but why does that program not inform me about this kind of change?
It does say “Automatic update failed. Please try updating manually”, without informing me how to do a manual update.
Can someone please start explaining what is going on and what I am supposed to do?
I went through horrible steps to upgrade from “nightly” 0.32.0 to stable 0.59.0. Later versions has some irrelevant “Critical security warning” about perfectly valid read-only commands (unusable). Later versions have no sandbox image for AMD - so I am currently prevented from running the client in a sandbox.
I hope that this means the client is no longer using those parameters that will (according to the email) soon start throwing errors.
I will wait for a saner Gemini client version (after 0.63.0) that does not constantly bug me about “Critical security issue”), and that has a sandbox image for AMD.
This issue can be marked as resolved, if noone has anything to add.
Hello @Johan_E_Bengtsson , thanks for the update. That email is a notice for developers who call the Gemini API directly from their own code. If you only use Gemini CLI, keeping it on the latest version is the recommended step (see the Gemini CLI README).
Thanks for replying. I always ran the Gemini client in the sandbox, so auto-updating did not work (a liittle weird).
Manually updating I found that Gemini client versions after 0.59 are pretty unusable due to a “critical security” warning about perfectly safe operating system commands (for example looking into files). So, I run version 0.59 and disable auto-updating. Unfortunately there is no longer a sandbox for ARM processors, so I have to run without the sandbox.
I am only one further problem away from abandoning Gemini. Let us hope the gaps (spurious warning, ARM sandbox) get fixed.
I managed to build an ARM sandbox for the desired version 0.59, like this:
1. Get the Gemini CLI source
mkdir -p ~/git
cd ~/git
git clone GitHub - google-gemini/gemini-cli: An open-source AI agent that brings the power of Gemini directly into your terminal. · GitHub
cd gemini-cli
2. Check out the matching 0.59 source
git fetch --tags
git checkout v0.59.0
3. Install dependencies and build the repo first
npm install
npm run build
4. Build the Docker sandbox image
env -u GEMINI_SANDBOX_IMAGE -u BUILD_SANDBOX GEMINI_SANDBOX=docker npm run build:sandbox
Since later versions of the gemini client no longer show clearly if the main client runs containerized, the only way to check it is using this in a separate window:
docker ps
I think I saw in the repository that the false-positives for perfectly safe commands have been fixed, so perhaps the next stable version (Tuesday?) is usable. However, I will probably not run the hairy ARM-sandbox build again until I absolutely have to.
This could perhaps now be marked as a solution.