app

Module Contents

Classes

AgentAPIServer

Functions

parse_args()

Attributes

args

class lagent.distributed.http_serve.app.AgentAPIServer(config, host='127.0.0.1', port=8090)
参数:
  • config (dict) –

  • host (str) –

  • port (int) –

app
agent
setup_routes()
run(host='127.0.0.1', port=8090)
lagent.distributed.http_serve.app.parse_args()
lagent.distributed.http_serve.app.args = None