mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-26 14:35:22 +08:00
Update misc.rs
This commit is contained in:
@@ -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