tool-call
: return tool_call.id (required by Nemo)
This commit is contained in:
parent
267e630c14
commit
f5320af02a
1 changed files with 2 additions and 1 deletions
|
@ -476,7 +476,8 @@ static json format_final_response_oaicompat(const json & request, const json & r
|
||||||
{"function", {
|
{"function", {
|
||||||
{"name", tc.name},
|
{"name", tc.name},
|
||||||
{"arguments", tc.arguments},
|
{"arguments", tc.arguments},
|
||||||
}}
|
}},
|
||||||
|
{"id", tc.id.empty() ? json() : json(tc.id)},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue