We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5dc857e + eaab477 commit cb81f52Copy full SHA for cb81f52
ollama/_types.py
@@ -19,6 +19,9 @@ class BaseGenerateResponse(TypedDict):
19
done: bool
20
'True if response is complete, otherwise False. Useful for streaming to detect the final response.'
21
22
+ done_reason: str
23
+ 'Reason for completion. Only present when done is True.'
24
+
25
total_duration: int
26
'Total duration in nanoseconds.'
27
0 commit comments