Skip to content

Commit 81315f8

Browse files
committed
chore(models): update Claude model references to Claude 4 Sonnet
- Update product description to reference Claude 4 Sonnet instead of Claude 3.5 Sonnet - Change default model from `claude-3-7-sonnet-latest` to `claude-sonnet-4-0` - Add new model options: `claude-sonnet-4-0` and `claude-opus-4-0` - Remove outdated model options: `claude-3-sonnet-20240229` and `claude-3-haiku-20240307` - Update keywords to use "Claude Sonnet" instead of "Claude 3.5" - Slightly revise token usage description for clarity
1 parent f555e81 commit 81315f8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "diff-commit",
33
"displayName": "Diff Commit",
44
"version": "0.3.8",
5-
"description": "Generate detailed Git commit messages following the conventional commit specification using Anthropic's AI models like Claude 3.5 Sonnet.",
5+
"description": "Generate detailed Git commit messages following the conventional commit specification using Anthropic's AI models like Claude 4 Sonnet.",
66
"categories": [
77
"AI",
88
"SCM Providers"
@@ -13,7 +13,7 @@
1313
"Commit Message",
1414
"Conventional Commit",
1515
"Anthropic",
16-
"Claude 3.5",
16+
"Claude Sonnet",
1717
"Sonnet",
1818
"Diff Commit",
1919
"tpsTech",
@@ -62,14 +62,14 @@
6262
"properties": {
6363
"diffCommit.model": {
6464
"type": "string",
65-
"default": "claude-3-7-sonnet-latest",
65+
"default": "claude-sonnet-4-0",
6666
"enum": [
67+
"claude-sonnet-4-0",
6768
"claude-3-7-sonnet-latest",
6869
"claude-3-5-sonnet-latest",
6970
"claude-3-5-haiku-latest",
70-
"claude-3-opus-latest",
71-
"claude-3-sonnet-20240229",
72-
"claude-3-haiku-20240307"
71+
"claude-opus-4-0",
72+
"claude-3-opus-latest"
7373
],
7474
"description": "The Anthropic AI model to use for generating commit messages."
7575
},
@@ -78,7 +78,7 @@
7878
"default": 1024,
7979
"minimum": 1,
8080
"maximum": 8192,
81-
"description": "Maximum number of tokens to generate in the response. Higher values allow for longer commit messages but use more API tokens."
81+
"description": "Maximum number of tokens to generate in the response. Higher values allow for longer commit messages but can use more API tokens."
8282
},
8383
"diffCommit.temperature": {
8484
"type": "number",

0 commit comments

Comments
 (0)