From 185f0c970838c915f8867a590c10a25a279f1169 Mon Sep 17 00:00:00 2001 From: Mahesh Date: Mon, 9 Dec 2024 13:03:56 +0530 Subject: [PATCH] feat: add tools support - ollama --- src/providers/ollama/chatComplete.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/providers/ollama/chatComplete.ts b/src/providers/ollama/chatComplete.ts index 3d7cec98d..0451f2370 100644 --- a/src/providers/ollama/chatComplete.ts +++ b/src/providers/ollama/chatComplete.ts @@ -64,6 +64,9 @@ export const OllamaChatCompleteConfig: ProviderConfig = { default: 100, min: 0, }, + tools: { + param: 'tools', + }, }; export interface OllamaChatCompleteResponse extends ChatCompletionResponse {