An empty tool_call_id is better than none!

This commit is contained in:
Olivier Chafik 2025-01-31 09:28:00 +00:00
parent 5783575c9d
commit 5408cb8459

View file

@ -713,7 +713,7 @@ struct server_task_result_cmpl_final : server_task_result {
{"name", tc.name}, {"name", tc.name},
{"arguments", tc.arguments}, {"arguments", tc.arguments},
}}, }},
{"id", tc.id.empty() ? json() : json(tc.id)}, {"id", tc.id},
}); });
} }
} }