← Back to PRs

#18740: fix(raw-stream): Defer env read for raw_stream CLI flags

by madsmith open 2026-02-17 01:15 View on GitHub →
agents size: XS
OPENCLAW_RAW_STREAM and OPENCLAW_RAW_STREAM_PATH are read when the module is loaded. The CLI handler sets them after they've been loaded and fails to enable raw stream output. Defer the env read to first use and memoize the result. Closes #18753

Most Similar PRs