agentscope.studio package

Submodules

Module contents

Import the entry point of AgentScope Studio.

as_studio() None[源代码]

Start the AgentScope Studio web UI in commandline

init(host: str = '127.0.0.1', port: int = 5000, run_dirs: str | list[str] | None = None, debug: bool = False) None[源代码]

Start the AgentScope Studio web UI with the given configurations.

参数:
  • host (str, optional) -- The host of the web UI. Defaults to "127.0.0.1"

  • port (int, optional) -- The port of the web UI. Defaults to 5000.

  • run_dirs (Optional[Union[str, list[str]]], defaults to None) -- The directories to search for the history of runtime instances.

  • debug (bool, optional) -- Whether to enable the debug mode. Defaults to False.