mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 20:53:15 +00:00
* fix: recover from mid-run sandbox death Recreate dead sandboxes during tool execution and stop repeated unrecoverable timeout loops with a user-facing notification. * fix: count repeated sandbox recreations Treat consecutive sandbox recreations as an unrecovered failure streak so outages cannot loop until the model-call limit.
19 lines
760 B
Python
19 lines
760 B
Python
from .check_message_queue import check_message_queue_before_model
|
|
from .ensure_no_empty_msg import ensure_no_empty_msg
|
|
from .exclude_tools import ExcludeToolsMiddleware
|
|
from .notify_step_limit import notify_step_limit_reached
|
|
from .refresh_slack_status import SlackAssistantStatusMiddleware
|
|
from .sandbox_circuit_breaker import SandboxCircuitBreakerMiddleware
|
|
from .sanitize_tool_inputs import SanitizeToolInputsMiddleware
|
|
from .tool_error_handler import ToolErrorMiddleware
|
|
|
|
__all__ = [
|
|
"ExcludeToolsMiddleware",
|
|
"SanitizeToolInputsMiddleware",
|
|
"ToolErrorMiddleware",
|
|
"SandboxCircuitBreakerMiddleware",
|
|
"SlackAssistantStatusMiddleware",
|
|
"check_message_queue_before_model",
|
|
"ensure_no_empty_msg",
|
|
"notify_step_limit_reached",
|
|
]
|