Skip to content

Commit

Permalink
fix: During configure remove 'recommended' from provider descriptions (
Browse files Browse the repository at this point in the history
  • Loading branch information
jsibbison-square authored Nov 28, 2024
1 parent 545d6ab commit bef4911
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions crates/goose-cli/src/commands/expected_config.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
6 changes: 1 addition & 5 deletions crates/goose-cli/src/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(), ""),
})
Expand Down

0 comments on commit bef4911

Please sign in to comment.