mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
Feat/update ollama for function calling (#2892)
update ollama for function calling
This commit is contained in:
@@ -77,7 +77,7 @@ class Retriever_Tools implements INode {
|
||||
|
||||
const schema = z.object({
|
||||
input: z.string().describe('input to look up in retriever')
|
||||
})
|
||||
}) as any
|
||||
|
||||
const tool = new DynamicStructuredTool({ ...input, func, schema })
|
||||
return tool
|
||||
|
||||
Reference in New Issue
Block a user