From 41445cbafdf7cb9e1121979c4528e3a4102e4437 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Mon, 31 Aug 2026 16:07:30 +0300 Subject: [PATCH] Take tinyinference's null-tolerant sequence decoder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Several OpenAI-compatible endpoints spell "no tool calls" as "tool_calls": null rather than by omitting the key, and Mistral-family models do it on every plain-text completion. #[serde(default)] covers only an absent key, so such a response failed the whole decode with "invalid type: null, expected a sequence" — a model that simply answered in prose surfaced to the harness as a transport fault. Any agent on such a rung could not complete a single turn. Found on a Lean-specialised model, where a sub-agent delegation failed 100% of the time. tinyhumansai/tinyinference#4. Co-authored-by: Medulla --- vendor/tinyinference | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/tinyinference b/vendor/tinyinference index 70412ce5..dbf7897e 160000 --- a/vendor/tinyinference +++ b/vendor/tinyinference @@ -1 +1 @@ -Subproject commit 70412ce59215ac73d61385cf782603e9c046e004 +Subproject commit dbf7897e8752a395c376fec563c12552b19032bf