CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
style: ruff format fallback.py
xf gong261c599800a6
diff --git a/cubepi/providers/fallback.py b/cubepi/providers/fallback.pyindex 65289ad..ba4197c 100644--- a/cubepi/providers/fallback.py+++ b/cubepi/providers/fallback.py@@ -6,7 +6,12 @@ import timefrom dataclasses import dataclassfrom typing import Any, Awaitable, Callable-from cubepi.errors import ContextLengthExceeded, ProviderError, ProviderUnavailable, RateLimited+from cubepi.errors import (+ ContextLengthExceeded,+ ProviderError,+ ProviderUnavailable,+ RateLimited,+)from cubepi.providers.base import (AssistantMessage,BoundModel,@@ -50,7 +55,9 @@ class FallbackBoundModel:chain: tuple[BoundModel, ...]trigger_errors: frozenset[type[ProviderError]] = DEFAULT_TRIGGER_ERRORSon_failover: (- Callable[[BoundModel, BoundModel | None, BaseException | str], Awaitable[None] | None]+ Callable[+ [BoundModel, BoundModel | None, BaseException | str], Awaitable[None] | None+ ]| None) = None