diff --git a/en/.doctrees/environment.pickle b/en/.doctrees/environment.pickle index 2bd2a569d..c2dc55dff 100644 Binary files a/en/.doctrees/environment.pickle and b/en/.doctrees/environment.pickle differ diff --git a/en/.doctrees/index.doctree b/en/.doctrees/index.doctree index 635f8f524..42005770b 100644 Binary files a/en/.doctrees/index.doctree and b/en/.doctrees/index.doctree differ diff --git a/en/_modules/agentscope/models/gemini_model.html b/en/_modules/agentscope/models/gemini_model.html index 7911d521a..2c9200355 100644 --- a/en/_modules/agentscope/models/gemini_model.html +++ b/en/_modules/agentscope/models/gemini_model.html @@ -149,7 +149,7 @@

Source code for agentscope.models.gemini_model

"environment variable.", ) - genai.configure(api_key=api_key) + genai.configure(api_key=api_key, **kwargs) self.model_name = model_name diff --git a/zh_CN/.doctrees/environment.pickle b/zh_CN/.doctrees/environment.pickle index 0fd50fe9c..d6a0abe61 100644 Binary files a/zh_CN/.doctrees/environment.pickle and b/zh_CN/.doctrees/environment.pickle differ diff --git a/zh_CN/.doctrees/index.doctree b/zh_CN/.doctrees/index.doctree index 52366cfa7..0b0b2a7bd 100644 Binary files a/zh_CN/.doctrees/index.doctree and b/zh_CN/.doctrees/index.doctree differ diff --git a/zh_CN/_modules/agentscope/models/gemini_model.html b/zh_CN/_modules/agentscope/models/gemini_model.html index 7807822db..8a60ce610 100644 --- a/zh_CN/_modules/agentscope/models/gemini_model.html +++ b/zh_CN/_modules/agentscope/models/gemini_model.html @@ -150,7 +150,7 @@

agentscope.models.gemini_model 源代码

                 "environment variable.",
             )
 
-        genai.configure(api_key=api_key)
+        genai.configure(api_key=api_key, **kwargs)
 
         self.model_name = model_name