You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ ollama.chat(request)
66
66
-`tool_name``<string>`: (Optional) Add the name of the tool that was executed to inform the model of the result
67
67
-`format``<string>`: (Optional) Set the expected format of the response (`json`).
68
68
-`stream``<boolean>`: (Optional) When true an `AsyncGenerator` is returned.
69
-
-`think``<boolean>`: (Optional) When true, the model will think about the response before responding. Requires thinking support from the model.
69
+
-`think``<boolean | "high" | "medium" | "low">`: (Optional) Enable model thinking. Use `true`/`false` or specify a level. Requires model support.
70
70
-`keep_alive``<string | number>`: (Optional) How long to keep the model loaded. A number (seconds) or a string with a duration unit suffix ("300ms", "1.5h", "2h45m", etc.)
71
71
-`tools``<Tool[]>`: (Optional) A list of tool calls the model may make.
72
72
-`options``<Options>`: (Optional) Options to configure the runtime.
@@ -89,7 +89,7 @@ ollama.generate(request)
89
89
-`images``<Uint8Array[] | string[]>`: (Optional) Images to be included, either as Uint8Array or base64 encoded strings.
90
90
-`format``<string>`: (Optional) Set the expected format of the response (`json`).
91
91
-`stream``<boolean>`: (Optional) When true an `AsyncGenerator` is returned.
92
-
-`think``<boolean>`: (Optional) When true, the model will think about the response before responding. Requires thinking support from the model.
92
+
-`think``<boolean | "high" | "medium" | "low">`: (Optional) Enable model thinking. Use `true`/`false` or specify a level. Requires model support.
93
93
-`keep_alive``<string | number>`: (Optional) How long to keep the model loaded. A number (seconds) or a string with a duration unit suffix ("300ms", "1.5h", "2h45m", etc.)
94
94
-`options``<Options>`: (Optional) Options to configure the runtime.
0 commit comments