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.
1 parent 8c0b46e commit fd01b73Copy full SHA for fd01b73
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