mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Extend context truncation cases (#11393)
This commit is contained in:
@@ -903,7 +903,7 @@ class AgentController:
|
||||
'contextwindowexceedederror' in error_str
|
||||
or 'prompt is too long' in error_str
|
||||
or 'input length and `max_tokens` exceed context limit' in error_str
|
||||
or 'please reduce the length of either one' in error_str
|
||||
or 'please reduce the length of' in error_str
|
||||
or 'the request exceeds the available context size' in error_str
|
||||
or 'context length exceeded' in error_str
|
||||
# For OpenRouter context window errors
|
||||
|
||||
Reference in New Issue
Block a user