mirror of https://github.com/kortix-ai/suna.git
fix
This commit is contained in:
parent
fead1c831b
commit
b5c56faca1
|
@ -187,8 +187,6 @@ async def run_agent(
|
||||||
elif "gpt-4" in model_name.lower():
|
elif "gpt-4" in model_name.lower():
|
||||||
max_tokens = 4096
|
max_tokens = 4096
|
||||||
|
|
||||||
# model_name = "openrouter/nvidia/llama-3.1-nemotron-ultra-253b-v1:free"
|
|
||||||
|
|
||||||
response = await thread_manager.run_thread(
|
response = await thread_manager.run_thread(
|
||||||
thread_id=thread_id,
|
thread_id=thread_id,
|
||||||
system_prompt=system_message,
|
system_prompt=system_message,
|
||||||
|
|
|
@ -10,7 +10,6 @@ from utils.auth_utils import get_optional_user_id
|
||||||
from services.supabase import DBConnection
|
from services.supabase import DBConnection
|
||||||
from agent.api import get_or_create_project_sandbox
|
from agent.api import get_or_create_project_sandbox
|
||||||
|
|
||||||
|
|
||||||
# Initialize shared resources
|
# Initialize shared resources
|
||||||
router = APIRouter(tags=["sandbox"])
|
router = APIRouter(tags=["sandbox"])
|
||||||
db = None
|
db = None
|
||||||
|
|
|
@ -169,7 +169,7 @@ class SandboxToolsBase(Tool):
|
||||||
self._sandbox_pass = sandbox_info.get('pass')
|
self._sandbox_pass = sandbox_info.get('pass')
|
||||||
|
|
||||||
# Get or start the sandbox
|
# 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
|
# # Log URLs if not already printed
|
||||||
# if not SandboxToolsBase._urls_printed:
|
# if not SandboxToolsBase._urls_printed:
|
||||||
|
|
Loading…
Reference in New Issue