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 93f0cc05de
commit 571805b348
1 changed files with 3 additions and 3 deletions

View File

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