We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0dc1c8 commit 74fff28Copy full SHA for 74fff28
src/engine/anthropic.ts
@@ -41,7 +41,7 @@ export class AnthropicEngine implements AiEngine {
41
};
42
43
// add top_p for non-4.5 models
44
- if (!params.model.includes('-4-5') || !params.model.includes('claude')) {
+ if (!/claude.*-4-5/.test(params.model)) {
45
params.top_p = 0.1;
46
}
47
0 commit comments