Skip to content

Commit 589455d

Browse files
authored
Merge pull request #797 from b4s36t4/feat/ollama-output-format
feat: add tools support for ollama
2 parents 6811fb4 + 0f985d4 commit 589455d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/providers/ollama/chatComplete.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ export const OllamaChatCompleteConfig: ProviderConfig = {
6464
default: 100,
6565
min: 0,
6666
},
67+
tools: {
68+
param: 'tools',
69+
},
6770
};
6871

6972
export interface OllamaChatCompleteResponse extends ChatCompletionResponse {

0 commit comments

Comments
 (0)