gac 1.2.2__tar.gz → 1.2.4__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.
Potentially problematic release.
This version of gac might be problematic. Click here for more details.
- {gac-1.2.2 → gac-1.2.4}/PKG-INFO +1 -1
- {gac-1.2.2 → gac-1.2.4}/pyproject.toml +6 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/__version__.py +1 -1
- {gac-1.2.2 → gac-1.2.4}/src/gac/providers/openai.py +1 -1
- {gac-1.2.2 → gac-1.2.4}/.gitignore +0 -0
- {gac-1.2.2 → gac-1.2.4}/LICENSE +0 -0
- {gac-1.2.2 → gac-1.2.4}/README.md +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/__init__.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/ai.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/ai_utils.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/cli.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/config.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/config_cli.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/constants.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/diff_cli.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/errors.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/git.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/init_cli.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/main.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/preprocess.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/prompt.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/providers/__init__.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/providers/anthropic.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/providers/cerebras.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/providers/groq.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/providers/ollama.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/providers/openrouter.py +0 -0
- {gac-1.2.2 → gac-1.2.4}/src/gac/utils.py +0 -0
{gac-1.2.2 → gac-1.2.4}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gac
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.4
|
|
4
4
|
Summary: AI-powered Git commit message generator with multi-provider support
|
|
5
5
|
Project-URL: Homepage, https://github.com/cellwebb/gac
|
|
6
6
|
Project-URL: Documentation, https://github.com/cellwebb/gac#readme
|
|
@@ -193,6 +193,12 @@ indent-style = "space"
|
|
|
193
193
|
skip-magic-trailing-comma = false
|
|
194
194
|
line-ending = "auto"
|
|
195
195
|
|
|
196
|
+
[tool.pytest.ini_options]
|
|
197
|
+
markers = [
|
|
198
|
+
"providers: marks tests that make real API calls to AI providers (deselect with '-m \"not providers\"')",
|
|
199
|
+
]
|
|
200
|
+
addopts = "-m 'not providers'"
|
|
201
|
+
|
|
196
202
|
[template.plugins.default]
|
|
197
203
|
tests = true
|
|
198
204
|
src-layout = true
|
|
@@ -16,7 +16,7 @@ def call_openai_api(model: str, messages: list[dict], temperature: float, max_to
|
|
|
16
16
|
url = "https://api.openai.com/v1/chat/completions"
|
|
17
17
|
headers = {"Authorization": f"Bearer {api_key}", "Content-Type": "application/json"}
|
|
18
18
|
|
|
19
|
-
data = {"model": model, "messages": messages, "temperature": temperature, "
|
|
19
|
+
data = {"model": model, "messages": messages, "temperature": temperature, "max_completion_tokens": max_tokens}
|
|
20
20
|
|
|
21
21
|
try:
|
|
22
22
|
response = httpx.post(url, headers=headers, json=data, timeout=120)
|
|
File without changes
|
{gac-1.2.2 → gac-1.2.4}/LICENSE
RENAMED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|