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", {
|
||||
{"name", tc.name},
|
||||
{"arguments", tc.arguments},
|
||||
}}
|
||||
}},
|
||||
{"id", tc.id.empty() ? json() : json(tc.id)},
|
||||
});
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue