Refactor import to prevent circular dependency

Moved import statement to avoid circular import issue.
This commit is contained in:
Aran Yogesh 2026-02-12 16:34:26 -08:00 • committed by GitHub
parent 5c6b9b26b2
commit d0ffb2a3a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,7 +133,6 @@ def commit_and_open_pr(
if not sandbox_id:
return {"success": False, "error": "No sandbox found for thread", "pr_url": None}
# Import here to avoid circular import with server.py
from ..server import _create_langsmith_sandbox
sandbox_backend = _create_langsmith_sandbox(sandbox_id)