Repository navigation
Conversation
|
Opus 5.5 Max wrote this: |
|
@ilyazub That's a good catch. I tried to address it. Every non-interactive stderr line stays a JSON object. When stderr is not a terminal, each So existing line-by-line parsers for |
pulkitchowdry
left a comment
There was a problem hiding this comment.
Thanks for the work on this @strzibny!
I tested the --debug flag including the latest changes related to the json output (for example 2>debug.jsonl) and text output on terminal.
Tested for network errors (including proxy, awaiting headers error), minimal timeout, invalid api key, combining debug with jq, timeout flags and everything looks good to me.
Let's add --debug option for better debugging logs when customers face something unexpected regarding connections and timeouts.
Debug mode adds tracing for each request to stderr with wall-clock and elapsed timestamps; DNS, TCP connect (local -> remote address), TLS handshake, time to first byte, response status and headers, and body size.
For searches, we also correlate the server's search_metadata timestamps with the client timeline and flag whether a long wait happened before the search was created, during processing, or after processing finished.