fix(llm): classify zai token limit overflow (#35671)
This commit is contained in:
parent
78f85b1cd6
commit
adf178a6b9
3 changed files with 10 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ const patterns = [
|
|||
/input is too long for requested model/i,
|
||||
/exceeds the context window/i,
|
||||
/input token count.*exceeds the maximum/i,
|
||||
/tokens in request more than max tokens allowed/i,
|
||||
/maximum prompt length is \d+/i,
|
||||
/reduce the length of the messages/i,
|
||||
/maximum context length is \d+ tokens/i,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue