Skip to content

Commit

Permalink
set api as required for configure
Browse files Browse the repository at this point in the history
  • Loading branch information
damienrj committed Feb 3, 2025
1 parent d87a608 commit 3228570
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions crates/goose/src/providers/google.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,16 +239,10 @@ impl Provider for GoogleProvider {
GOOGLE_KNOWN_MODELS.iter().map(|&s| s.to_string()).collect(),
GOOGLE_DOC_URL,
vec![
ConfigKey::new("GOOGLE_API_KEY", false, true, None),
ConfigKey::new("GOOGLE_API_KEY", true, true, None),
ConfigKey::new("GOOGLE_HOST", false, false, Some(GOOGLE_API_HOST)),
ConfigKey::new("GOOGLE_CLIENT_ID", false, false, None),
ConfigKey::new("GOOGLE_CLIENT_SECRET", false, true, None),
ConfigKey::new(
"GOOGLE_REDIRECT_URL",
false,
false,
Some(DEFAULT_REDIRECT_URL),
),
],
)
}
Expand Down

0 comments on commit 3228570

Please sign in to comment.