opencommit 3.2.12 → 3.2.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/out/cli.cjs +4 -2
  2. package/package.json +1 -1
package/out/cli.cjs CHANGED
@@ -48509,7 +48509,7 @@ function G3(t2, e3) {
48509
48509
  // package.json
48510
48510
  var package_default = {
48511
48511
  name: "opencommit",
48512
- version: "3.2.12",
48512
+ version: "3.2.14",
48513
48513
  description: "Auto-generate impressive commits in 1 second. Killing lame commits with AI \u{1F92F}\u{1F52B}",
48514
48514
  keywords: [
48515
48515
  "git",
@@ -57666,9 +57666,11 @@ var AnthropicEngine = class {
57666
57666
  system: systemMessage,
57667
57667
  messages: restMessages,
57668
57668
  temperature: 0,
57669
- top_p: 0.1,
57670
57669
  max_tokens: this.config.maxTokensOutput
57671
57670
  };
57671
+ if (!/claude.*-4-5/.test(params.model)) {
57672
+ params.top_p = 0.1;
57673
+ }
57672
57674
  try {
57673
57675
  const REQUEST_TOKENS = messages.map((msg) => tokenCount(msg.content) + 4).reduce((a4, b7) => a4 + b7, 0);
57674
57676
  if (REQUEST_TOKENS > this.config.maxTokensInput - this.config.maxTokensOutput) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencommit",
3
- "version": "3.2.12",
3
+ "version": "3.2.14",
4
4
  "description": "Auto-generate impressive commits in 1 second. Killing lame commits with AI 🤯🔫",
5
5
  "keywords": [
6
6
  "git",