log request also
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
- PowerShell: ``$env:BG_AGENT_DEBUG='1'`` (or ``$env:DEBUG='1'``)
|
||||
- Cmd: ``set BG_AGENT_DEBUG=1``
|
||||
- When enabled, logs are written to `%LOCALAPPDATA%\BgVisionAgent\agent.log` at DEBUG level.
|
||||
- Additionally, the agent saves full OpenAI HTTP request/response JSON files (URL, headers, payload, status, headers, body) in `%LOCALAPPDATA%\BgVisionAgent\http`. Filenames include timestamps and attempt numbers. Secrets are redacted from headers.
|
||||
- When not enabled, only warnings/errors go to stderr; no log file is written.
|
||||
|
||||
**Notes**
|
||||
|
||||
Reference in New Issue
Block a user