[0.7.1] - 2026-06-06
Maintenance patch on the 0.7.x line. Backports two fixes from main
(cherry-picked ahead of the v0.8.0 breaking release).
Fixed
- Chat reads no longer time out on slow shared-notebook streams (#1466,
#1468).client.chat.asknow uses a chat-specific per-read HTTP timeout
instead of inheriting the general clienttimeout, so shared notebooks that
are slow to emit the first streamed byte stop raising spurious timeouts. A new
optionalchat_timeoutkeyword onNotebookLMClient(...)/
NotebookLMClient.from_storage(...)(and a matchingchat askCLI flag)
tunes the window; it defaults to 180 s. Behavior note: chat reads now wait
up to 180 s by default rather than inheriting the prior client timeout — pass
chat_timeout=Noneto restore the old inherit-timeoutbehavior. - Dropped a misleading byte-count-mismatch WARNING from the chunked RPC
parser (#1469). The decoder no longer logs a spurious size-mismatch warning
during normal chunked parsing.
Added
chat_timeoutkeyword argument on the client constructors and a corresponding
chat askCLI option (additive; defaults preserve existing call sites).