From 16ea45b6854232541fb45f7d2e5b767118cccf43 Mon Sep 17 00:00:00 2001 From: t Date: Tue, 2 Jun 2026 10:50:05 -0600 Subject: tool call resiliency --- src/models_toml.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/models_toml.zig') 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 @@ //! [.] //! model = # wire model id; defaults to if omitted //! reasoning = # default | off | minimal | low | medium | high -//! max_tokens = # anthropic_messages only +//! max_tokens = # per-request output token cap //! api_version = # anthropic_messages only //! # pricing (all optional; USD per million tokens): //! input = @@ -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, -- cgit v1.3