Backendopenhandsopenhands.agenthubopenhands.agenthub.microagent本页总览openhands.agenthub.micro.agentto_json def to_json(obj, **kwargs) Serialize an object to str format MicroAgent Objects class MicroAgent(Agent) history_to_json def history_to_json(history: list[Event], max_events: int = 20, **kwargs) Serialize and simplify history to str format