Skip to content

CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.

feat(providers): export FallbackBoundModel and DEFAULT_TRIGGER_ERRORS from cubepi

xf gongec61f21377f0
diff --git a/cubepi/__init__.py b/cubepi/__init__.py
index c97539b..86ade09 100644
--- a/cubepi/__init__.py
+++ b/cubepi/__init__.py
@@ -22,6 +22,8 @@ from cubepi.providers import (
AssistantMessage,
BaseProvider,
BoundModel,
+ DEFAULT_TRIGGER_ERRORS,
+ FallbackBoundModel,
Message,
MessageStream,
Model,
@@ -77,6 +79,8 @@ __all__ = [
"BoundModel",
"CapabilityDescriptor",
"ContextLengthExceeded",
+ "DEFAULT_TRIGGER_ERRORS",
+ "FallbackBoundModel",
"ImagesAborted",
"ImagesCapabilityDescriptor",
"ImagesContext",
diff --git a/cubepi/providers/__init__.py b/cubepi/providers/__init__.py
index 7fb10cb..367cf45 100644
--- a/cubepi/providers/__init__.py
+++ b/cubepi/providers/__init__.py
@@ -35,6 +35,10 @@ from cubepi.providers.faux import (
faux_thinking,
faux_tool_call,
)
+from cubepi.providers.fallback import (
+ DEFAULT_TRIGGER_ERRORS,
+ FallbackBoundModel,
+)
from cubepi.providers.models import (
THINKING_LEVELS,
clamp_thinking_level,
@@ -67,7 +71,9 @@ __all__ = [
"BaseProvider",
"BoundModel",
"Content",
+ "DEFAULT_TRIGGER_ERRORS",
"FauxProvider",
+ "FallbackBoundModel",
"ImageContent",
"Message",
"MessageStream",