Fix error in argument processing

This commit is contained in:
Piotr Wilkin 2026-02-03 17:33:35 +01:00
parent 88614e6730
commit 0fba5187c0
1 changed files with 2 additions and 2 deletions

View File

@ -654,8 +654,8 @@ common_peg_parser common_chat_peg_unified_builder::standard_json_tools(
}
// Mode 3: Flat keys (enhanced with ID fields and parameter ordering)
else {
auto name_key_parser = literal("\"" + name_key + "\"");
auto args_key_parser = literal("\"" + args_key + "\"");
auto name_key_parser = literal("\"" + effective_name_key + "\"");
auto args_key_parser = literal("\"" + effective_args_key + "\"");
for (const auto & tool_def : tools) {
if (!tool_def.contains("function")) {