mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-04 12:01:24 +02:00
added a fix to make description optional in rosie's tool repack
This commit is contained in:
+1
-1
@@ -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
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user