git-copilot-commit 0.4.0__tar.gz → 0.4.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.
Files changed (18) hide show
  1. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/PKG-INFO +1 -1
  2. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/src/git_copilot_commit/cli.py +12 -1
  3. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/.github/workflows/ci.yml +0 -0
  4. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/.gitignore +0 -0
  5. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/.justfile +0 -0
  6. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/.python-version +0 -0
  7. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/LICENSE +0 -0
  8. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/README.md +0 -0
  9. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/pyproject.toml +0 -0
  10. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/src/git_copilot_commit/__init__.py +0 -0
  11. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/src/git_copilot_commit/git.py +0 -0
  12. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/src/git_copilot_commit/github_copilot.py +0 -0
  13. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/src/git_copilot_commit/prompts/commit-message-generator-prompt.md +0 -0
  14. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/src/git_copilot_commit/py.typed +0 -0
  15. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/src/git_copilot_commit/settings.py +0 -0
  16. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/src/git_copilot_commit/version.py +0 -0
  17. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/uv.lock +0 -0
  18. {git_copilot_commit-0.4.0 → git_copilot_commit-0.4.1}/vhs/demo.vhs +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-copilot-commit
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Automatically generate and commit changes using copilot
5
5
  Author-email: Dheepak Krishnamurthy <1813121+kdheepak@users.noreply.github.com>
6
6
  License-File: LICENSE
@@ -116,7 +116,18 @@ def generate_commit_message(
116
116
  if model.startswith("github_copilot/"):
117
117
  model = model.replace("github_copilot/", "")
118
118
 
119
- return github_copilot.ask(prompt, model=model)
119
+ return github_copilot.ask(
120
+ f"""
121
+ # System Prompt
122
+
123
+ {load_system_prompt()}
124
+
125
+ # Prompt
126
+
127
+ {prompt}
128
+ """,
129
+ model=model,
130
+ )
120
131
 
121
132
 
122
133
  def commit_with_retry_no_verify(