mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-03 01:03:26 +00:00
Refactor import to prevent circular dependency
Moved import statement to avoid circular import issue.
This commit is contained in:
parent
5c6b9b26b2
commit
d0ffb2a3a9
1 changed files with 0 additions and 1 deletions
|
|
@ -133,7 +133,6 @@ def commit_and_open_pr(
|
||||||
if not sandbox_id:
|
if not sandbox_id:
|
||||||
return {"success": False, "error": "No sandbox found for thread", "pr_url": None}
|
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
|
from ..server import _create_langsmith_sandbox
|
||||||
|
|
||||||
sandbox_backend = _create_langsmith_sandbox(sandbox_id)
|
sandbox_backend = _create_langsmith_sandbox(sandbox_id)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue