diff --git a/out/cli.cjs b/out/cli.cjs index 087ee48..31f1324 100755 --- a/out/cli.cjs +++ b/out/cli.cjs @@ -57666,9 +57666,11 @@ var AnthropicEngine = class { system: systemMessage, messages: restMessages, temperature: 0, - top_p: 0.1, max_tokens: this.config.maxTokensOutput }; + if (!/claude.*-4-5/.test(params.model)) { + params.top_p = 0.1; + } try { const REQUEST_TOKENS = messages.map((msg) => tokenCount(msg.content) + 4).reduce((a4, b7) => a4 + b7, 0); if (REQUEST_TOKENS > this.config.maxTokensInput - this.config.maxTokensOutput) { diff --git a/out/github-action.cjs b/out/github-action.cjs index 2ac749a..1888061 100644 --- a/out/github-action.cjs +++ b/out/github-action.cjs @@ -78451,9 +78451,11 @@ var AnthropicEngine = class { system: systemMessage, messages: restMessages, temperature: 0, - top_p: 0.1, max_tokens: this.config.maxTokensOutput }; + if (!/claude.*-4-5/.test(params.model)) { + params.top_p = 0.1; + } try { const REQUEST_TOKENS = messages.map((msg) => tokenCount(msg.content) + 4).reduce((a4, b4) => a4 + b4, 0); if (REQUEST_TOKENS > this.config.maxTokensInput - this.config.maxTokensOutput) {