From 69ea1d359c8d0f238415433bc8678e19c7967229 Mon Sep 17 00:00:00 2001 From: Salman Mohammed Date: Sat, 8 Feb 2025 13:41:09 -0500 Subject: [PATCH] fix: increase max_tokens to 50 for initial goose configure (#1162) --- crates/goose-cli/src/commands/configure.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/goose-cli/src/commands/configure.rs b/crates/goose-cli/src/commands/configure.rs index 24f786b9..67e3807e 100644 --- a/crates/goose-cli/src/commands/configure.rs +++ b/crates/goose-cli/src/commands/configure.rs @@ -275,7 +275,7 @@ pub async fn configure_provider_dialog() -> Result> { spin.start("Checking your configuration..."); // Use max tokens to speed up the provider test. - let model_config = goose::model::ModelConfig::new(model.clone()).with_max_tokens(Some(10)); + let model_config = goose::model::ModelConfig::new(model.clone()).with_max_tokens(Some(50)); let provider = create(provider_name, model_config)?; let messages =