Fix error in argument processing
This commit is contained in:
parent
5cabb3c737
commit
c35b31abe5
|
|
@ -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)
|
// Mode 3: Flat keys (enhanced with ID fields and parameter ordering)
|
||||||
else {
|
else {
|
||||||
auto name_key_parser = literal("\"" + name_key + "\"");
|
auto name_key_parser = literal("\"" + effective_name_key + "\"");
|
||||||
auto args_key_parser = literal("\"" + args_key + "\"");
|
auto args_key_parser = literal("\"" + effective_args_key + "\"");
|
||||||
|
|
||||||
for (const auto & tool_def : tools) {
|
for (const auto & tool_def : tools) {
|
||||||
if (!tool_def.contains("function")) {
|
if (!tool_def.contains("function")) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue