mirror of
https://github.com/NandhaKishorM/laya.git
synced 2026-09-29 17:07:10 +08:00
The Python API docstrings now have browsable pages under docs/reference/, rendered with mkdocstrings. Handler options keep signatures and multi-line Returns sections readable and put the constructor on the class page without changing the source. The Docs workflow also runs on laya/** so docstring changes rebuild the site.
329 B
329 B
Agent
laya.Agent loads one checkpoint and answers typed questions about a state. laya.load is
a shortcut for Agent(...), and laya.RLAgent is an alias of Agent. ONNXAgent runs an
exported ONNX model on CPU; import it from laya.onnx_agent.
::: laya.agent.Agent
::: laya.agent.load
::: laya.onnx_agent.ONNXAgent