We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c0b46e + fd01b73 commit b053953Copy full SHA for b053953
scrapegraphai/models/gemini.py
@@ -15,4 +15,6 @@ class Gemini(ChatGoogleGenerativeAI):
15
"""
16
17
def __init__(self, llm_config: dict):
18
+ # replace "api_key" to "google_api_key"
19
+ llm_config["google_api_key"] = llm_config.pop("api_key", None)
20
super().__init__(**llm_config)
0 commit comments