Bugfix/Enum type tools for gemini (#2766)

fix enum type tools for gemini
This commit is contained in:
Henry Heng
2024-07-09 00:25:18 +01:00
committed by GitHub
parent 90558ca688
commit 3cbbd59242
2 changed files with 8 additions and 3 deletions
@@ -273,10 +273,8 @@ class Supervisor_MultiAgents implements INode {
* So we have to place the system + human prompt at last
*/
let prompt = ChatPromptTemplate.fromMessages([
['human', systemPrompt],
['ai', ''],
['system', systemPrompt],
new MessagesPlaceholder('messages'),
['ai', ''],
['human', userPrompt]
])