This commit is contained in:
GH Action - Upstream Sync committed 2025-02-25 01:22:53 +00:00
commit 0ccd76074a
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ class GoogleLLM(BaseLLM):
parts = [] parts = []
if role and content is not None: if role and content is not None:
if isinstance(content, str): if isinstance(content, str):
parts = [types.Part.from_text(content)] parts = [types.Part.from_text(text=content)]
elif isinstance(content, list): elif isinstance(content, list):
for item in content: for item in content:
if "text" in item: if "text" in item:
+3 -3
View File
@@ -14,7 +14,7 @@ esutils==1.0.1
Flask==3.1.0 Flask==3.1.0
faiss-cpu==1.9.0.post1 faiss-cpu==1.9.0.post1
flask-restx==1.3.0 flask-restx==1.3.0
google-genai==0.5.0 google-genai==1.3.0
google-generativeai==0.8.3 google-generativeai==0.8.3
gTTS==2.5.4 gTTS==2.5.4
gunicorn==23.0.0 gunicorn==23.0.0
@@ -46,7 +46,7 @@ mypy-extensions==1.0.0
networkx==3.4.2 networkx==3.4.2
numpy==2.2.1 numpy==2.2.1
openai==1.59.5 openai==1.59.5
openapi-schema-validator==0.6.2 openapi-schema-validator==0.6.3
openapi-spec-validator==0.6.0 openapi-spec-validator==0.6.0
openapi3-parser==1.1.19 openapi3-parser==1.1.19
orjson==3.10.14 orjson==3.10.14
@@ -62,7 +62,7 @@ prompt-toolkit==3.0.50
protobuf==5.29.3 protobuf==5.29.3
psycopg2-binary==2.9.10 psycopg2-binary==2.9.10
py==1.11.0 py==1.11.0
pydantic==2.10.4 pydantic==2.10.6
pydantic-core==2.27.2 pydantic-core==2.27.2
pydantic-settings==2.7.1 pydantic-settings==2.7.1
pymongo==4.10.1 pymongo==4.10.1