git-copilot-commit 0.2.0__tar.gz → 0.2.1__tar.gz
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.
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/PKG-INFO +1 -1
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/src/git_copilot_commit/cli.py +2 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/.github/workflows/ci.yml +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/.gitignore +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/.justfile +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/.python-version +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/LICENSE +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/README.md +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/pyproject.toml +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/src/git_copilot_commit/__init__.py +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/src/git_copilot_commit/git.py +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/src/git_copilot_commit/prompts/commit-message-generator-prompt.md +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/src/git_copilot_commit/py.typed +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/src/git_copilot_commit/settings.py +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/src/git_copilot_commit/version.py +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/uv.lock +0 -0
- {git_copilot_commit-0.2.0 → git_copilot_commit-0.2.1}/vhs/demo.vhs +0 -0
|
@@ -117,6 +117,7 @@ def generate_commit_message(
|
|
|
117
117
|
prompt = "\n".join(prompt_parts)
|
|
118
118
|
|
|
119
119
|
try:
|
|
120
|
+
client.reset()
|
|
120
121
|
response = client.ask(prompt, model=model) if model else client.ask(prompt)
|
|
121
122
|
return response.content
|
|
122
123
|
except CopilotAPIError:
|
|
@@ -136,6 +137,7 @@ def generate_commit_message(
|
|
|
136
137
|
|
|
137
138
|
fallback_prompt = "\n".join(fallback_prompt_parts)
|
|
138
139
|
|
|
140
|
+
client.reset()
|
|
139
141
|
response = (
|
|
140
142
|
client.ask(fallback_prompt, model=model)
|
|
141
143
|
if model
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|