Skip to main content

parse_context_overflow_error

Function parse_context_overflow_error 

Source
pub fn parse_context_overflow_error(
    status: u16,
    message: &str,
) -> Option<ContextOverflowError>
Expand description

解析上下文溢出错误

错误格式示例: “input length and max_tokens exceed context limit: 195000 + 8192 > 200000”