Skip to content

Commit 9dc9716

Browse files
authored
Update multi-tool.ts imports (#231)
Fixes `ReferenceError: Ollama is not defined` error
1 parent de292ee commit 9dc9716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/tools/multi-tool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import ollama from 'ollama';
1+
import ollama, { Ollama } from 'ollama';
22

33
// Mock weather functions
44
function getTemperature(args: { city: string }): string {

0 commit comments

Comments
 (0)