From ef799046281c1aa7fa033feda4c5da166338aa00 Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Thu, 30 Apr 2026 17:32:34 +0800 Subject: [PATCH] added a fix to make description optional in rosie's tool repack --- koboldcpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koboldcpp.py b/koboldcpp.py index 285702a52..8de7cdac7 100644 --- a/koboldcpp.py +++ b/koboldcpp.py @@ -3841,7 +3841,7 @@ def compress_tools_array(tools_array): tool_props[prop_name] = prop_type tools_array_filtered.append({ "name": tool_data['name'], - "description": tool_data['description'], + "description": tool_data.get("description", ""), "properties": tool_props })