RemoteHttpRuntime
- host (str): The host of the remote server.
- port (int): The port of the remote server. (default: :obj:
8000
) (default: 8000) - python_exec (str): The python executable to run the API server. (default: :obj:
python3
)
init
build
_cleanup
add
- funcs (Union[FunctionTool, List[FunctionTool]]): The function or list of functions to add.
- entrypoint (str): The entrypoint for the function.
- redirect_stdout (bool): Whether to return the stdout of the function. (default: :obj:
False
) - arguments (Optional[Dict[str, Any]]): The arguments for the function. (default: :obj:
None
)
ok
wait
- timeout (int): The number of seconds to wait. (default: :obj:
10
) (default: 10)