DaytonaRuntime
- api_key (Optional[str]): The Daytona API key for authentication. If not provided, it will try to use the DAYTONA_API_KEY environment variable. (default: :obj:
None
) - api_url (Optional[str]): The URL of the Daytona server. If not provided, it will try to use the DAYTONA_API_URL environment variable. If none is provided, it will use “http://localhost:8000”. (default: :obj:
None
) - language (Optional[str]): The programming language for the sandbox. (default: :obj:
"python"
)
init
build
_cleanup
add
- funcs (Union[FunctionTool, List[FunctionTool]]): The function or list of functions to add.
- entrypoint (str): The entrypoint for the function.
- arguments (Optional[Dict[str, Any]]): The arguments for the function. (default: :obj:
None
)