fix(llm): classify zai token limit overflow (#35671)

This commit is contained in:
冯基魁
2026-07-07 22:46:27 +08:00
committed by GitHub
parent 19f54dbc8b
commit d3f95e0738
3 changed files with 10 additions and 0 deletions
@@ -1448,6 +1448,7 @@ describe("session.message-v2.fromError", () => {
"prompt is too long: 213462 tokens > 200000 maximum",
"Your input exceeds the context window of this model",
"The input token count (1196265) exceeds the maximum number of tokens allowed (1048575)",
"tokens in request more than max tokens allowed",
"Please reduce the length of the messages or completion",
"400 status code (no body)",
"413 status code (no body)",