mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-06-16 13:34:04 +08:00
Update misc.rs
This commit is contained in:
committed by
GitHub
Unverified
parent
49a2e52b20
commit
debe4232bc
@@ -348,7 +348,7 @@ fn extract_env_vars_from_config(
|
||||
if let Some(api_key) = obj.get("api_key").and_then(|v| v.as_str()) {
|
||||
match app_type {
|
||||
AppType::Gemini => {
|
||||
env_vars.push(("GOOGLE_API_KEY".to_string(), api_key.to_string()));
|
||||
env_vars.push(("GEMINI_API_KEY".to_string(), api_key.to_string()));
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user