feat: 添加超详细的HTTP请求日志系统
This commit is contained in:
parent
e626521ac2
commit
37e75785da
|
|
@ -208,7 +208,7 @@ impl GeminiService {
|
||||||
let mut headers = std::collections::HashMap::new();
|
let mut headers = std::collections::HashMap::new();
|
||||||
headers.insert("Authorization".to_string(), format!("Bearer {}", access_token));
|
headers.insert("Authorization".to_string(), format!("Bearer {}", access_token));
|
||||||
headers.insert("Content-Type".to_string(), "application/json".to_string());
|
headers.insert("Content-Type".to_string(), "application/json".to_string());
|
||||||
|
|
||||||
ClientConfig {
|
ClientConfig {
|
||||||
gateway_url: self.config.base_url.clone(),
|
gateway_url: self.config.base_url.clone(),
|
||||||
headers,
|
headers,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue