tool-call: return tool_call.id (required by Nemo)

This commit is contained in:
ochafik 2024-10-24 05:40:15 +01:00
parent 267e630c14
commit f5320af02a

View File

@ -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 {