diff --git a/ollama/_types.py b/ollama/_types.py index 73cf4b8..846fd2a 100644 --- a/ollama/_types.py +++ b/ollama/_types.py @@ -19,6 +19,9 @@ class BaseGenerateResponse(TypedDict): done: bool 'True if response is complete, otherwise False. Useful for streaming to detect the final response.' + done_reason: str + 'Reason for completion. Only present when done is True.' + total_duration: int 'Total duration in nanoseconds.'