diff options
| author | t <t@tjp.lol> | 2026-06-04 09:46:49 -0600 |
|---|---|---|
| committer | t <t@tjp.lol> | 2026-06-04 12:09:09 -0600 |
| commit | 3f1ace16afc7877b0bfad374cb286d4d84140960 (patch) | |
| tree | a114a0081e147ef02f0188e408d79199f5e7dcfc /libpanto/src/openai_chat_json.zig | |
| parent | ac5c4898dfa0a9e57424336774893dfc72b132e9 (diff) | |
failure retries scheme
Diffstat (limited to 'libpanto/src/openai_chat_json.zig')
| -rw-r--r-- | libpanto/src/openai_chat_json.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpanto/src/openai_chat_json.zig b/libpanto/src/openai_chat_json.zig index f0d12ed..2307ce8 100644 --- a/libpanto/src/openai_chat_json.zig +++ b/libpanto/src/openai_chat_json.zig @@ -91,7 +91,7 @@ pub fn serializeRequest( try s.objectField("stream"); try s.write(true); - try s.objectField("max_tokens"); + try s.objectField("max_completion_tokens"); try s.write(cfg.max_tokens); // Ask for the final-chunk usage block. Without this the server |
