From 18be07853b7e24b2181a38e41b139088baf9aa4e Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Tue, 29 Jul 2025 12:12:21 +1000 Subject: [PATCH] chore: adding in some new models token limits (#3685) --- crates/goose/src/model.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/goose/src/model.rs b/crates/goose/src/model.rs index 59f9976370..22c4473c6e 100644 --- a/crates/goose/src/model.rs +++ b/crates/goose/src/model.rs @@ -28,7 +28,11 @@ static MODEL_SPECIFIC_LIMITS: Lazy> = Lazy::new(|| map.insert("llama3.3", 128_000); // x.ai Grok models, https://docs.x.ai/docs/overview - map.insert("grok", 131_072); + map.insert("grok-3", 131_072); + map.insert("grok-4", 256_000); // 256K + + map.insert("qwen3-coder", 262_144); // 262K + map });