⌨️CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK
Also known as CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK=1
Set to 1, it stops the one-piece retry when a stream breaks.
Think of it like
It is like you stop a waiter from bringing a dish twice.
Example
Emma saw the same file written twice after a dropped stream. Her proxy had made the retry repeat the tool call. This fixed it.
Why it matters
Running a tool twice can do real harm, such as sending a message twice.
Definition
Example code
bash
export CLAUDE_CODE_DISABLE_NONSTREAMING_FALLBACK=1
claudeCommon mistake
Key takeaways
- 1Stream breaks. Is when it acts.
- 2No one-piece retry. When set.
- 3Stops double runs. Behind proxies.