Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
What's wrong with this entry?
Claude Code now supports a new environment variable CLAUDE_CODE_EXTRA_BODY that allows users to inject additional parameters into API requests.
Usage:
# Set custom API parameters as a JSON object
export CLAUDE_CODE_EXTRA_BODY='{"temperature": 0.8, "max_tokens": 4000}'
claude "Your prompt here"
This feature enables:
Error Handling:
What's wrong with this entry?
stream module now uses import { Readable as o$4 }node:process module now uses import { cwd as zw0 }Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
What's wrong with this entry?
The new O41() function handles the environment variable parsing:
function O41() {
let I = process.env.CLAUDE_CODE_EXTRA_BODY;
if (!I) return {};
try {
let G = wO(I); // JSON parse wrapper
if (G && typeof G === "object" && !Array.isArray(G)) return G;
return (console.error("CLAUDE_CODE_EXTRA_BODY must be a JSON object"), {});
} catch (G) {
return (
console.error(
`Error parsing CLAUDE_CODE_EXTRA_BODY: ${G instanceof Error ? G.message : String(G)}`,
),
{}
);
}
}
This function is likely called during API request construction to merge custom parameters with default request bodies.
v0.2.45 does not have its own entry in Anthropic’s official changelog, because prerelease builds are often folded into a neighbouring release. Browse the full changelog for the closest official notes. Everything else on this page came out of the bundle instead, which is why the two lists don't match.
The system prompt was not captured for this release, so this page cannot say whether it moved.