Bug with Gemini CLI
First of all, I want to thank you for integrating Claude Code and the Gemini CLI into Bolt AI. This helps me immensely because I have a Pro subscription, so now I don't need to spend extra API credits. This is truly awesome!
That said, I’ve run into a bug. For some reason, the Gemini CLI within Bolt gets the current date wrong, whereas it works perfectly fine in my terminal. This leads to grounding issues, particularly when the model needs to search the internet.
It seems like the local environment context isn't being passed through correctly. Perhaps you need to explicitly set an environment variable or inject the date context in your implementation?
I’m attaching side-by-side screenshots of the same question asked in Bolt AI and my terminal to show the difference.
See here:
Log in to comment and vote
Comments1
Mahdi
Feb 14
After seeing your inquiry here, I tested it on my own computer and initially got the same result. However, once I enabled the search tool, it provided me with the correct day on Gemini (2.5 and 3) Pro, Gemini 3 Flash.
the problem with Gemini Flash 2.5 only
see the attached screenshot
after enabling the search tool did work for all Models except Gemini Flash 2.5