git-copilot-commit 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl
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/cli.py +1 -1
- {git_copilot_commit-0.2.1.dist-info → git_copilot_commit-0.2.2.dist-info}/METADATA +1 -1
- {git_copilot_commit-0.2.1.dist-info → git_copilot_commit-0.2.2.dist-info}/RECORD +6 -6
- {git_copilot_commit-0.2.1.dist-info → git_copilot_commit-0.2.2.dist-info}/WHEEL +0 -0
- {git_copilot_commit-0.2.1.dist-info → git_copilot_commit-0.2.2.dist-info}/entry_points.txt +0 -0
- {git_copilot_commit-0.2.1.dist-info → git_copilot_commit-0.2.2.dist-info}/licenses/LICENSE +0 -0
git_copilot_commit/cli.py
CHANGED
|
@@ -120,7 +120,7 @@ def generate_commit_message(
|
|
|
120
120
|
client.reset()
|
|
121
121
|
response = client.ask(prompt, model=model) if model else client.ask(prompt)
|
|
122
122
|
return response.content
|
|
123
|
-
except
|
|
123
|
+
except Exception as _:
|
|
124
124
|
fallback_prompt_parts = [
|
|
125
125
|
"`git status`:\n",
|
|
126
126
|
f"```\n{status.get_porcelain_output()}\n```",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
git_copilot_commit/__init__.py,sha256=v3x5oBkxwKJEZLv62QqSmP3iqNKLtZgrWZfH8eFzlQg,60
|
|
2
|
-
git_copilot_commit/cli.py,sha256=
|
|
2
|
+
git_copilot_commit/cli.py,sha256=N5ydsywarRLSlv9Sr0iuPWJXa_G8NNdz53O_TyFQ0ro,12388
|
|
3
3
|
git_copilot_commit/git.py,sha256=8CSGS6sPPdL32b_EHX8swvoxqmUC26afUr4wVFcYdqk,9134
|
|
4
4
|
git_copilot_commit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
git_copilot_commit/settings.py,sha256=nrtD71TFmIQwLpda-GgIhciafxbi4Ul4aNfbqoQ24tY,2801
|
|
6
6
|
git_copilot_commit/version.py,sha256=AieHOUX52g6N67HL0iLWtDKrgOYyulxwHWViu26Jrd4,105
|
|
7
7
|
git_copilot_commit/prompts/commit-message-generator-prompt.md,sha256=zYcSbM-60zTggIQDMJmHZXhc3lYWRdJeMf2i0K-smog,2655
|
|
8
|
-
git_copilot_commit-0.2.
|
|
9
|
-
git_copilot_commit-0.2.
|
|
10
|
-
git_copilot_commit-0.2.
|
|
11
|
-
git_copilot_commit-0.2.
|
|
12
|
-
git_copilot_commit-0.2.
|
|
8
|
+
git_copilot_commit-0.2.2.dist-info/METADATA,sha256=TYQ1i70vU57R9kgHb22vl6x2OCBzIlo-7nqFtySOMBw,4640
|
|
9
|
+
git_copilot_commit-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
10
|
+
git_copilot_commit-0.2.2.dist-info/entry_points.txt,sha256=Imboc0oJa4Oq1O3C-wWcy7ZxfsVSkkC-OC-iPbTn3Fg,66
|
|
11
|
+
git_copilot_commit-0.2.2.dist-info/licenses/LICENSE,sha256=14lNZAoKJPI1U7eGpletjN_PFm1JwP1vT_0jFKY6eWg,1065
|
|
12
|
+
git_copilot_commit-0.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|