Fix(FlowiseChatGoogleGenerativeAI): Prevent "parts must not be empty" API error in Seq Agents (#4292)

* Fix(FlowiseChatGoogleGenerativeAI): Prevent "parts must not be empty" API error in Seq Agents

* Fix: Update pnpm-lock.yaml to resolve CI issues

* convert role function and tool to function

* remove comment

---------

Co-authored-by: Henry <hzj94@hotmail.com>
This commit is contained in:
toi500
2025-04-14 18:27:09 +02:00
committed by GitHub
parent d3510d1054
commit d71369c3b7
6 changed files with 84 additions and 69 deletions
+12 -4
View File
@@ -420,12 +420,16 @@
"name": "chatGoogleGenerativeAI",
"models": [
{
"label": "gemini-2.0-flash-001",
"name": "gemini-2.0-flash-001"
"label": "gemini-2.5-pro-preview-03-25",
"name": "gemini-2.5-pro-preview-03-25"
},
{
"label": "gemini-2.0-flash-lite-001",
"name": "gemini-2.0-flash-lite-001"
"label": "gemini-2.0-flash",
"name": "gemini-2.0-flash"
},
{
"label": "gemini-2.0-flash-lite",
"name": "gemini-2.0-flash-lite"
},
{
"label": "gemini-1.5-flash",
@@ -1336,6 +1340,10 @@
{
"label": "text-embedding-004",
"name": "text-embedding-004"
},
{
"label": "gemini-embedding-exp-03-07",
"name": "gemini-embedding-exp-03-07"
}
]
},