Skip to main content

apply_claude_transcript_usage_limit

Function apply_claude_transcript_usage_limit 

Source
pub fn apply_claude_transcript_usage_limit(
    metadata: &mut ResultMetadata,
    options: &ClaudeTranscriptOptions,
) -> bool
Expand description

Fill a failed Claude run’s usage-limit fields from its transcript when the output did not report the limit. A killed process cannot report one.

Returns whether a limit was found.