diff options
Diffstat (limited to 'src/models_toml.zig')
| -rw-r--r-- | src/models_toml.zig | 4 |
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, |
