Thanks for 0.2.18 + a quick suggestion
Hi! First of all thanks a lot for the 0.2.18 update. The new spidermonkey backend is super fast and light on RAM, works great with OpenCode.
I have two small suggestions if you ever have time for them:
First, right now I have to use fake stream so long coding answers don't break in the middle if Google drops the connection, but waiting for the full response takes a while. Since continuation rewrite is already in the app, could real streaming just continue from the last text on another account when a stream cuts off, instead of failing?
Second, when using OpenCode, Google returns malformed_function_call on tool calls and the agent stops. Would be great if the proxy could just retry that on another account automatically.
Thanks again for your work!
Google returns
malformed_function_callon tool calls and the agent stops
These errors can't be handled for every agent tool out there, but the common ones listed in the README will be covered, so this will be fixed in the next version with broader coverage.
could real streaming just continue from the last text on another account when a stream cuts off
If it cuts off in the middle of a tool call, continuing from there isn't possible. Like this SillyTavern case, the model would have to strictly continue from a given point, which is no longer a tool call and seriously hurts the model's ability. Even a one-off continuation where the following requests turn back into a real tool call and ignore the stitched text would be extremely complex, i don't think anyone has done it, and the gain is low, so finding and fixing the root cause of the cutoffs is what we'll do, and it will most likely be implemented in v0.2.19!
v0.2.19 is out: on malformed_function_call, a stream cut before finishing, or a tail 5xx before the client gets anything, the service now regenerates automatically.