Aller directement au contenu principal

openhands.agenthub.micro.agent

to_json

def to_json(obj: object, **kwargs: dict) -> str

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: dict) -> str

Serialize and simplify history to str format