A recent paper from Focus Technology's AI lab reveals that attaching a JSON schema to a request can cause open-weight models to completely fail at tool invocation. This issue, which affects seven different open-weight models, results in a 100% suppression rate for tool calls when a JSON schema is present. The paper explains this is due to the `response_format={"type":"json_schema"}` setting, which compiles the schema into a token bitmask that effectively prevents the model from selecting tool options before sampling even begins. AI
IMPACT This discovery highlights a critical flaw in how some open AI models handle tool invocation when JSON schemas are involved, potentially impacting their reliability in complex task execution.
RANK_REASON Research paper detailing a functional flaw in open models. [lever_c_demoted from research: ic=1 ai=1.0]
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →