From 37e75785da092e61c878d82349a342b7f0d8580d Mon Sep 17 00:00:00 2001 From: imeepos Date: Mon, 14 Jul 2025 13:28:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E8=B6=85=E8=AF=A6?= =?UTF-8?q?=E7=BB=86=E7=9A=84HTTP=E8=AF=B7=E6=B1=82=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/desktop/src-tauri/src/infrastructure/gemini_service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/desktop/src-tauri/src/infrastructure/gemini_service.rs b/apps/desktop/src-tauri/src/infrastructure/gemini_service.rs index ad9d788..38ef6c2 100644 --- a/apps/desktop/src-tauri/src/infrastructure/gemini_service.rs +++ b/apps/desktop/src-tauri/src/infrastructure/gemini_service.rs @@ -208,7 +208,7 @@ impl GeminiService { let mut headers = std::collections::HashMap::new(); headers.insert("Authorization".to_string(), format!("Bearer {}", access_token)); headers.insert("Content-Type".to_string(), "application/json".to_string()); - + ClientConfig { gateway_url: self.config.base_url.clone(), headers,