Skip to content

The agent that grows with you

fix(api): correct _handle_browser_control_frame return annotation

kshitijk4poor23a64a97ec92
diff --git a/gateway/platforms/api_server.py b/gateway/platforms/api_server.py
index 0450e64a54b..afba3352f6c 100644
--- a/gateway/platforms/api_server.py
+++ b/gateway/platforms/api_server.py
@@ -3649,7 +3649,7 @@ class APIServerAdapter(BasePlatformAdapter):
frame: dict,
*,
owner: Any = None,
- ) -> None:
+ ) -> Optional[dict]:
"""Apply one controller→broker frame with exact-scope checks."""
method = frame.get("method")
params = frame.get("params")