From bef49113b7419d6154dab74b6b82a28a7b9a49bf Mon Sep 17 00:00:00 2001 From: Jarrod Sibbison <72240382+jsibbison-square@users.noreply.github.com> Date: Fri, 29 Nov 2024 09:24:13 +1100 Subject: [PATCH] fix: During configure remove 'recommended' from provider descriptions (#372) --- crates/goose-cli/src/commands/expected_config.rs | 2 -- crates/goose-cli/src/profile.rs | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/crates/goose-cli/src/commands/expected_config.rs b/crates/goose-cli/src/commands/expected_config.rs index 44454230b..abe99a08d 100644 --- a/crates/goose-cli/src/commands/expected_config.rs +++ b/crates/goose-cli/src/commands/expected_config.rs @@ -1,5 +1,3 @@ -// This is a temporary file to simulate some configuration data from the backend - use crate::profile::{PROVIDER_DATABRICKS, PROVIDER_OLLAMA, PROVIDER_OPEN_AI}; use goose::providers::ollama::OLLAMA_MODEL; diff --git a/crates/goose-cli/src/profile.rs b/crates/goose-cli/src/profile.rs index 1f25447d9..9b6543459 100644 --- a/crates/goose-cli/src/profile.rs +++ b/crates/goose-cli/src/profile.rs @@ -43,11 +43,7 @@ pub const PROFILE_DEFAULT_NAME: &str = "default"; pub fn select_provider_lists() -> Vec<(&'static str, String, &'static str)> { ProviderType::iter() .map(|provider| match provider { - ProviderType::OpenAi => ( - PROVIDER_OPEN_AI, - PROVIDER_OPEN_AI.to_string(), - "Recommended", - ), + ProviderType::OpenAi => (PROVIDER_OPEN_AI, PROVIDER_OPEN_AI.to_string(), ""), ProviderType::Databricks => (PROVIDER_DATABRICKS, PROVIDER_DATABRICKS.to_string(), ""), ProviderType::Ollama => (PROVIDER_OLLAMA, PROVIDER_OLLAMA.to_string(), ""), })