Remix.run Logo
nico 3 hours 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

behnamoh an hour ago | parent [-]

Does any other provider allow that? what use cases are there for JSON + tool calling at the same time?

chrisweekly 29 minutes ago | parent | next [-]

Please correct my likely misunderstanding here, but on the surface, it seems to me that "call some tools then return JSON" has some pretty common use cases.

wahnfrieden 28 minutes ago | parent | prev [-]

OpenAI