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”
pub fn parse_context_overflow_error(
status: u16,
message: &str,
) -> Option<ContextOverflowError>解析上下文溢出错误
错误格式示例:
“input length and max_tokens exceed context limit: 195000 + 8192 > 200000”