Make call IDs nine-character

This commit is contained in:
Piotr Wilkin 2026-01-23 20:53:08 +01:00 committed by Piotr Wilkin
parent 16f756b4c5
commit 65ba390a26
1 changed files with 3 additions and 3 deletions

View File

@ -161,7 +161,7 @@ caps caps_get(jinja::program & prog) {
{"content", "Assistant message"},
{"tool_calls", json::array({
{
{"id", "call0001"},
{"id", "call00001"},
{"type", "function"},
{"function", {
{"name", "tool1"},
@ -171,7 +171,7 @@ caps caps_get(jinja::program & prog) {
}}
},
{
{"id", "call0002"},
{"id", "call00002"},
{"type", "function"},
{"function", {
{"name", "tool1"},
@ -255,7 +255,7 @@ caps caps_get(jinja::program & prog) {
{ "tool_calls",
json::array({
{
{ "id", "call0001" },
{ "id", "call00001" },
{ "type", "function" },
{ "function",
{