Skip to main content

is_usage_limit_response

Function is_usage_limit_response 

Source
pub fn is_usage_limit_response(text: &str) -> bool
Expand description

Recognize a provider usage-limit reply (for example an exhausted Codex plan). Kept deliberately narrow so ordinary conversation mentioning “limits” is never misclassified.