My project shows this answer everytime I try to make any change by the chat. Any Idea how to fix it?
com.google.net.rpc3.util.RpcFutureStream$RpcStreamException: generic::INVALID_ARGUMENT: generic::invalid_argument: [original: beyond::dependency::INVALID_ARGUMENT] Please ensure that function call turn comes immediately after a user turn or after a function response turn.: generic::invalid_argument: [original: beyond::dependency::INVALID_ARGUMENT] Please ensure that function call turn comes immediately after a user turn or after a function response turn.
com.google.net.rpc3.util.RpcFutureStream$RpcStreamException: generic::INVALID_ARGUMENT: generic::invalid_argument: [original: beyond::dependency::INVALID_ARGUMENT] Please ensure that function call turn comes immediately after a user turn or after a function response turn
Hey everyone! I found a fix. I switched the chat model to the most basic Flash version and turned off the paid API, using the free tier instead. After adding a few prompts, everything started working. Then I switched back to the latest Pro model and re-enabled the paid API, and it’s all running smoothly now.
I have the same issue. I am using free tier basic flash model. So it is more than just LLM switching…
errorcom.google.net.rpc3.util.RpcFutureStream$RpcStreamException: generic::INVALID_ARGUMENT: generic::invalid_argument: [original: beyond::dependency::INVALID_ARGUMENT] Please ensure that function call turn comes immediately after a user turn or after a function response turn.: generic::invalid_argument: [original: beyond::dependency::INVALID_ARGUMENT] Please ensure that function call turn comes immediately after a user turn or after a function response turn.