mirror of
https://github.com/aljazceru/goose.git
synced 2025-12-19 23:24:23 +01:00
fix: increase max_tokens to 50 for initial goose configure (#1162)
This commit is contained in:
@@ -275,7 +275,7 @@ pub async fn configure_provider_dialog() -> Result<bool, Box<dyn Error>> {
|
||||
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 =
|
||||
|
||||
Reference in New Issue
Block a user