error and finish_reason: "error" mid-stream.
Causes
Branch on
error.code. Check the model’s capabilities before sending a tool.
Server-tool failures in the standard envelope.
error and finish_reason: "error" mid-stream.
error.code. Check the model’s capabilities before sending a tool.