Skip to content

Commit 60376ab

Browse files
committed
langchain-google-genai==0.0.3
1 parent 0105390 commit 60376ab

File tree

3 files changed

+63
-40
lines changed

3 files changed

+63
-40
lines changed

poetry.lock

Lines changed: 58 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ include = ["src/*"]
88
packages = [{ include = "openagi", from = "src" }] # This tells Poetry where to find the package
99

1010
[tool.poetry.dependencies]
11-
langchain = "^0.1.8"
11+
python = "^3.9, <3.12"
12+
protobuf = "^3.20.3"
13+
langchain-core = "^0.1.27,<0.2.0"
14+
langchain = "^0.1.9"
1215
langchain-community = "^0.0.21"
1316
langchain-openai = "^0.0.6"
1417
langchain-text-splitters = "^0.0.1"
1518
langchain-experimental = "^0.0.53"
16-
langchain-core = "^0.1.27,<0.2.0"
17-
protobuf = "^5.28.2"
18-
python = "^3.9, <3.12"
1919
duckduckgo-search = "^6.1.0"
2020
spacy = "3.7.4"
2121
xorbits = "^0.7.2"

src/openagi/llms/gemini.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
try:
88
from langchain_google_genai import ChatGoogleGenerativeAI
99
except ImportError:
10-
raise OpenAGIException("Install langchain Google Gemini with cmd `pip install langchain-google-genai`")
10+
raise OpenAGIException("Install langchain Google Gemini with cmd `pip install langchain-google-genai==0.0.3`")
1111

1212
class GeminiConfigModel(LLMConfigModel):
1313
"""Configuration model for Gemini Chat model."""

0 commit comments

Comments
 (0)