From b5c56faca1851744abb008235217e983b248c7d6 Mon Sep 17 00:00:00 2001 From: marko-kraemer Date: Fri, 9 May 2025 05:32:46 +0200 Subject: [PATCH] fix --- backend/agent/run.py | 2 -- backend/sandbox/api.py | 1 - backend/sandbox/sandbox.py | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/agent/run.py b/backend/agent/run.py index 19341598..81795398 100644 --- a/backend/agent/run.py +++ b/backend/agent/run.py @@ -187,8 +187,6 @@ async def run_agent( elif "gpt-4" in model_name.lower(): max_tokens = 4096 - # model_name = "openrouter/nvidia/llama-3.1-nemotron-ultra-253b-v1:free" - response = await thread_manager.run_thread( thread_id=thread_id, system_prompt=system_message, diff --git a/backend/sandbox/api.py b/backend/sandbox/api.py index a0610f2b..d996eb5c 100644 --- a/backend/sandbox/api.py +++ b/backend/sandbox/api.py @@ -10,7 +10,6 @@ from utils.auth_utils import get_optional_user_id from services.supabase import DBConnection from agent.api import get_or_create_project_sandbox - # Initialize shared resources router = APIRouter(tags=["sandbox"]) db = None diff --git a/backend/sandbox/sandbox.py b/backend/sandbox/sandbox.py index d63252e8..04094790 100644 --- a/backend/sandbox/sandbox.py +++ b/backend/sandbox/sandbox.py @@ -169,7 +169,7 @@ class SandboxToolsBase(Tool): self._sandbox_pass = sandbox_info.get('pass') # Get or start the sandbox - # self._sandbox = await get_or_start_sandbox(self._sandbox_id) + self._sandbox = await get_or_start_sandbox(self._sandbox_id) # # Log URLs if not already printed # if not SandboxToolsBase._urls_printed: