Skip to content

Commit 7528a09

Browse files
committed
revert:(rp) revert PR for "Add support for local Ollama models (#39)" to fix format for RP
This reverts commit 6abd8d1 to be resubmitted with the correct conventional commit format for Release Please to parse the changes and generate a new release.
1 parent 6abd8d1 commit 7528a09

17 files changed

+133
-1988
lines changed

README.md

Lines changed: 28 additions & 118 deletions
Large diffs are not rendered by default.

package-lock.json

Lines changed: 1 addition & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 45 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.9",
5-
"description": "Generate detailed Git commit messages following the conventional commit specification using AI models. Choose between Anthropic's cloud-based models like Claude 4 Sonnet or local Ollama models for offline usage.",
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"
@@ -15,9 +15,6 @@
1515
"Anthropic",
1616
"Claude Sonnet",
1717
"Sonnet",
18-
"Ollama",
19-
"Local AI",
20-
"Offline AI",
2118
"Diff Commit",
2219
"tpsTech",
2320
"tsdevau"
@@ -58,34 +55,11 @@
5855
"command": "diffCommit.deleteAPIKey",
5956
"title": "DiffCommit: Delete stored API Key",
6057
"icon": "$(trash)"
61-
},
62-
{
63-
"command": "diffCommit.configureOllamaModel",
64-
"title": "DiffCommit: Configure Ollama Model",
65-
"icon": "$(server-environment)"
66-
},
67-
{
68-
"command": "diffCommit.changeOllamaModel",
69-
"title": "DiffCommit: Change Ollama Model",
70-
"icon": "$(settings-gear)"
7158
}
7259
],
7360
"configuration": {
7461
"title": "Diff Commit",
7562
"properties": {
76-
"diffCommit.provider": {
77-
"type": "string",
78-
"default": "anthropic",
79-
"enum": [
80-
"anthropic",
81-
"ollama"
82-
],
83-
"enumDescriptions": [
84-
"Use Anthropic's Claude models (requires API key)",
85-
"Use local Ollama models (requires Ollama server to be running)"
86-
],
87-
"description": "Choose the AI provider for generating commit messages."
88-
},
8963
"diffCommit.model": {
9064
"type": "string",
9165
"default": "claude-sonnet-4-0",
@@ -97,17 +71,7 @@
9771
"claude-opus-4-0",
9872
"claude-3-opus-latest"
9973
],
100-
"description": "The Anthropic AI model to use for generating commit messages. This value is only used when provider is set as 'anthropic'."
101-
},
102-
"diffCommit.ollamaHostname": {
103-
"type": "string",
104-
"default": "http://localhost:11434",
105-
"description": "The URL of the local Ollama server (eg http://localhost:11434). This value is only used when provider is set as 'ollama'."
106-
},
107-
"diffCommit.ollamaModel": {
108-
"type": "string",
109-
"default": "",
110-
"description": "The Ollama model to use for generating commit messages. Use the 'Configure Ollama Model' command to configure this. This value is only used when provider is set as 'ollama'."
74+
"description": "The Anthropic AI model to use for generating commit messages."
11175
},
11276
"diffCommit.maxTokens": {
11377
"type": "number",
@@ -134,15 +98,15 @@
13498
"type": "string"
13599
},
136100
"default": [
137-
"chore",
138-
"ci",
139-
"docs",
140101
"feat",
141102
"fix",
142-
"perf",
143103
"refactor",
104+
"chore",
105+
"docs",
144106
"style",
145-
"test"
107+
"test",
108+
"perf",
109+
"ci"
146110
],
147111
"description": "List of allowed commit types. If provided, this replaces the default options. So you need to ensure all required commit types are included in the list."
148112
}
@@ -177,8 +141,7 @@
177141
}
178142
},
179143
"dependencies": {
180-
"@anthropic-ai/sdk": "^0.39.0",
181-
"ollama": "^0.5.16"
144+
"@anthropic-ai/sdk": "^0.39.0"
182145
},
183146
"devDependencies": {
184147
"@types/jest": "^29.5.14",

0 commit comments

Comments
 (0)