Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

fix: add named args for daytona (#3746)

JINO ROHIT5848ee9a8511
diff --git a/camel/runtimes/daytona_runtime.py b/camel/runtimes/daytona_runtime.py
index 76d9facc7..822590401 100644
--- a/camel/runtimes/daytona_runtime.py
+++ b/camel/runtimes/daytona_runtime.py
@@ -164,7 +164,7 @@ class DaytonaRuntime(BaseRuntime):
script_path = f"/home/daytona/{func_name}.py"
try:
self.sandbox.fs.upload_file(
- script_path, func_code.encode()
+ remote_path=script_path, file=func_code.encode()
)
except Exception as e:
logger.error(