Gemini is responding with empty text content as well as tool_call #5996
DevDeepakBhattarai
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have the above code to select models based on user request. When ever I try to use gemini, it does not give me any text response as well as any tool call . The entire output is empty when ever I ask it to do anything related to the given tool.
If I ask it question like "Hello"
It responds normally, but as soon as I say tell me "today's news" or "what is the current weather" where it should be using the search tool. It doesn't , it just gives me empty response.
It this a bug with Langchain or Google ? I don't even know what is happening.
I am using the free api key that google provides. Does that have to do anything with this ? I didn't find any information about that in google's documentation.
Beta Was this translation helpful? Give feedback.
All reactions