Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ollama/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class GenerateRequest(BaseGenerateRequest):
images: Optional[Sequence[Image]] = None
'Image data for multimodal models.'

think: Optional[Union[bool, Literal['low', 'medium', 'high']]] = None
think: Optional[Union[bool, Literal['low', 'medium', 'high', 'max']]] = None
'Enable thinking mode (for thinking models).'

logprobs: Optional[bool] = None
Expand Down Expand Up @@ -400,7 +400,7 @@ def serialize_model(self, nxt):
tools: Optional[Sequence[Tool]] = None
'Tools to use for the chat.'

think: Optional[Union[bool, Literal['low', 'medium', 'high']]] = None
think: Optional[Union[bool, Literal['low', 'medium', 'high', 'max']]] = None
'Enable thinking mode (for thinking models).'

logprobs: Optional[bool] = None
Expand Down