summaryrefslogtreecommitdiff
path: root/src/models_toml.zig
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-06-02 10:50:05 -0600
committert <t@tjp.lol>2026-06-02 11:11:29 -0600
commit16ea45b6854232541fb45f7d2e5b767118cccf43 (patch)
tree1bf37d766e4b9de2b646c1475497ae7e9d5699c7 /src/models_toml.zig
parent9c64a7d4462a11674e2dea481b037b5f5d9c62fc (diff)
tool call resiliency
Diffstat (limited to 'src/models_toml.zig')
-rw-r--r--src/models_toml.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models_toml.zig b/src/models_toml.zig
index 36d8c65..790b61f 100644
--- a/src/models_toml.zig
+++ b/src/models_toml.zig
@@ -10,7 +10,7 @@
//! [<provider>.<alias>]
//! model = <string> # wire model id; defaults to <alias> if omitted
//! reasoning = <string> # default | off | minimal | low | medium | high
-//! max_tokens = <int> # anthropic_messages only
+//! max_tokens = <int> # per-request output token cap
//! api_version = <string> # anthropic_messages only
//! # pricing (all optional; USD per million tokens):
//! input = <float>
@@ -64,7 +64,7 @@ pub const ModelDef = struct {
/// TOML omitted `model`.
model: []const u8,
reasoning: ReasoningEffort,
- /// anthropic_messages only; null = use the provider/library default.
+ /// Per-request output token cap; null = use the provider/library default.
max_tokens: ?u32,
/// anthropic_messages only; null = use the library default.
api_version: ?[]const u8,