Skip to main content

is_context_overflow_error

Function is_context_overflow_error 

Source
pub fn is_context_overflow_error(err_msg: &str) -> bool
Expand description

Check if an error is a context overflow (token limit exceeded). Ported from Python _is_context_overflow_error.