Skip to main content

claude_supports_partial_messages

Function claude_supports_partial_messages 

Source
fn claude_supports_partial_messages() -> bool
Expand description

Whether the installed claude advertises --include-partial-messages (added in newer versions). Detected once from claude --help and cached: older builds reject unknown flags, so we must not pass it blindly. When absent we fall back to chunk-level output (the result-event text printed at turn end).