Skip to content

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

cleanup(recorder): drop dead provider binding in attach()

xf gong88624cbe5c12
diff --git a/cubepi/tracing/recorder.py b/cubepi/tracing/recorder.py
index ddcac87..e4a6ef8 100644
--- a/cubepi/tracing/recorder.py
+++ b/cubepi/tracing/recorder.py
@@ -243,7 +243,6 @@ class Recorder:
# Legacy agents that expose ``provider`` directly (instead of via
# ``_model``) are handled inside the helper.
agent_providers: list[BaseProvider] = collect_agent_providers(agent)
- provider = agent_providers[0] if agent_providers else None
provider_detachers: list[Callable[[], None]] = []
def _subscribe(p: Any) -> None: