hylo.codeagents.chats¶
Package: hylo-code-agents · Core contracts
chats ¶
hylo chats: tool-agent conversations from run traces as training records (chat format with tool calls).
hylo chats RUN_DIR [RUN_DIR ...] --out chats.jsonl [--all] [--include-assisted] [--max-result 4000]
One JSON line per episode (or tool session): {"messages": [...], "tools": [...], "meta": {...}} in the common chat-completions shape (system, user, assistant with tool_calls, tool). By default only episodes the task's check judged successful are written, and never episodes a person steered (human_assisted) unless --include-assisted: learning from steered runs would credit the model with the person's help. Images are not included; the observation turns keep their text with a note of how many images they had. Results longer than --max-result characters are cut.