Backendopenhandsopenhands.eventsopenhands.events.serializationevent本页总览openhands.events.serialization.eventtruncate_content def truncate_content(content: str, max_chars: int) -> str Truncate the middle of the observation content if it is too long.