Expand description
Helper utilities for request/response processing and tool commands
Structs§
Functions§
- decode_
body - Decode response body based on Content-Encoding
- extract_
commands - Extract read_file and exec commands from a Claude answer
- format_
tool_ line - Format a line with ANSI colors for read_file or exec commands
- parse_
stream - Parse the event-stream bytes into a completion string
- prettify
- Apply ANSI formatting to an answer