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 47a7ebc0c1
commit 052ad2ab8a
1 changed files with 3 additions and 3 deletions

View File

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