mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-17 04:09:19 +00:00
added a fix to make description optional in rosie's tool repack
This commit is contained in:
parent
eca9f4c1df
commit
ef79904628
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue