Skip to content

Commit 3fe71c1

Browse files
committed
build
1 parent 2f2e888 commit 3fe71c1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

out/cli.cjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57666,9 +57666,11 @@ var AnthropicEngine = class {
5766657666
system: systemMessage,
5766757667
messages: restMessages,
5766857668
temperature: 0,
57669-
top_p: 0.1,
5767057669
max_tokens: this.config.maxTokensOutput
5767157670
};
57671+
if (!/claude.*-4-5/.test(params.model)) {
57672+
params.top_p = 0.1;
57673+
}
5767257674
try {
5767357675
const REQUEST_TOKENS = messages.map((msg) => tokenCount(msg.content) + 4).reduce((a4, b7) => a4 + b7, 0);
5767457676
if (REQUEST_TOKENS > this.config.maxTokensInput - this.config.maxTokensOutput) {

out/github-action.cjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78451,9 +78451,11 @@ var AnthropicEngine = class {
7845178451
system: systemMessage,
7845278452
messages: restMessages,
7845378453
temperature: 0,
78454-
top_p: 0.1,
7845578454
max_tokens: this.config.maxTokensOutput
7845678455
};
78456+
if (!/claude.*-4-5/.test(params.model)) {
78457+
params.top_p = 0.1;
78458+
}
7845778459
try {
7845878460
const REQUEST_TOKENS = messages.map((msg) => tokenCount(msg.content) + 4).reduce((a4, b4) => a4 + b4, 0);
7845978461
if (REQUEST_TOKENS > this.config.maxTokensInput - this.config.maxTokensOutput) {

0 commit comments

Comments
 (0)