#π This appears not to work with Gemini:
1 messages Β· Page 1 of 1 (latest)
Ok fixed -- I have a PR ready
@wild fern curious - what was it? in my mind those should have been equivalent (prompt mode vs code)
here are the debug --
The Google Gemini API returns an error (googleapi: Error 400) when the request includes the tools parameter but the functionDeclarations array inside it is empty. Previously, the code always included the tools parameter, even when no tools were defined, resulting in an invalid payload: [{ FunctionDeclarations: [] }].
--
@proven light it's not just code -- doing llm | with-prompt "hi" |Β last-reply was failing too