mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-05 20:02:11 +00:00
fix: resolve circular import in commit_and_open_pr
This commit is contained in:
parent
b953010be7
commit
267aa47fad
1 changed files with 2 additions and 2 deletions
|
|
@ -4,6 +4,8 @@ import os
|
||||||
|
|
||||||
from deepagents.backends.protocol import SandboxBackendProtocol
|
from deepagents.backends.protocol import SandboxBackendProtocol
|
||||||
|
|
||||||
|
from ..integrations.langsmith import LangSmithProvider
|
||||||
|
|
||||||
|
|
||||||
def _get_langsmith_api_key() -> str | None:
|
def _get_langsmith_api_key() -> str | None:
|
||||||
"""Get LangSmith API key from environment.
|
"""Get LangSmith API key from environment.
|
||||||
|
|
@ -42,8 +44,6 @@ def _create_langsmith_sandbox(
|
||||||
Returns:
|
Returns:
|
||||||
SandboxBackendProtocol instance
|
SandboxBackendProtocol instance
|
||||||
"""
|
"""
|
||||||
from ..integrations.langsmith import LangSmithProvider
|
|
||||||
|
|
||||||
api_key = _get_langsmith_api_key()
|
api_key = _get_langsmith_api_key()
|
||||||
template_name, template_image = _get_sandbox_template_config()
|
template_name, template_image = _get_sandbox_template_config()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue