|
|
|
|
|
by nico
263 days ago
|
|
Another issue: Gemini can’t do tool calling and (forced) json output at the same time If you want to use application/json as the specified output in the request, you can’t use tools So if you need both, you either hope it gives you correct json when using tools (which many times it doesn’t). Or you have to do two requests, one for the tool calling, another for formatting At least, even if annoying, this issue is pretty straightforward to get around |
|
It’s a bit of a hack but maybe that reliably works here?