gac 1.2.2__py3-none-any.whl → 1.2.4__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.

Potentially problematic release.


This version of gac might be problematic. Click here for more details.

gac/__version__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Version information for gac package."""
2
2
 
3
- __version__ = "1.2.2"
3
+ __version__ = "1.2.4"
gac/providers/openai.py CHANGED
@@ -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, "max_tokens": max_tokens}
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)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gac
3
- Version: 1.2.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
@@ -1,5 +1,5 @@
1
1
  gac/__init__.py,sha256=HFWgSVNbTAFhgetCRWI1WrtyE7zC7IHvoBOrfDGUurM,989
2
- gac/__version__.py,sha256=iNS1DVqJb74bO6_PxrsUIrOdhcYnsH1F80ZnErn3N7A,66
2
+ gac/__version__.py,sha256=GDkaKhOfSvCVkLJaxZC9kiSV-zeX97pEG3kptZAPPV0,66
3
3
  gac/ai.py,sha256=iW7DqVoWGaHJeUWhkcYgFxJZHEkvNMcKgnEFQiBT_Dg,3090
4
4
  gac/ai_utils.py,sha256=4qr1Jpm89ND5avqWQoQIjyc-zS-CPLoODjlhI44l8M8,7079
5
5
  gac/cli.py,sha256=eQS8S7v6p0CfN9wtr239ujYGTi9rKl-KV7STX2U-C3w,4581
@@ -19,10 +19,10 @@ gac/providers/anthropic.py,sha256=esf6pq6nRdqD0mpKz_IQNXmXe5WnkoSA2b1isrrRB4o,15
19
19
  gac/providers/cerebras.py,sha256=eE9lAjEzrATIo941vv97I2DSmpnXYBCJ9HkVIb-6Whg,1130
20
20
  gac/providers/groq.py,sha256=Z-j-RKrRGV7evSWxTyKKnPff1Mn5YmYZxitqWVlwadE,2452
21
21
  gac/providers/ollama.py,sha256=Bp94DvortQssDhekuNdJ7fKLeWpWASYXSssJNCuGszg,1383
22
- gac/providers/openai.py,sha256=1l-Wu7ETXXaJ7cNB3OD5ivf4_72iIEP9bPFMQst8JWI,1109
22
+ gac/providers/openai.py,sha256=RohHaQqttx0BTVzoJrmEA4eajxnFLN7zyfcFBE0aRyQ,1120
23
23
  gac/providers/openrouter.py,sha256=x9jGhvHHbApCT859bSAUZrkpgQKfQTHUIFSlWYPvlfE,1196
24
- gac-1.2.2.dist-info/METADATA,sha256=4vc5SEzjFTwQsR0NZjMzEHaoVGNWhShTkttWnrqsgTc,8481
25
- gac-1.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
26
- gac-1.2.2.dist-info/entry_points.txt,sha256=tdjN-XMmcWfL92swuRAjT62bFLOAwk9bTMRLGP5Z4aI,36
27
- gac-1.2.2.dist-info/licenses/LICENSE,sha256=vOab37NouL1PNs5BswnPayrMCqaN2sqLfMQfqPDrpZg,1103
28
- gac-1.2.2.dist-info/RECORD,,
24
+ gac-1.2.4.dist-info/METADATA,sha256=Sf_uWtXM2nDhkmCbsLqW1Ug7Cjx4kyTNg8xQydGUK-I,8481
25
+ gac-1.2.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
26
+ gac-1.2.4.dist-info/entry_points.txt,sha256=tdjN-XMmcWfL92swuRAjT62bFLOAwk9bTMRLGP5Z4aI,36
27
+ gac-1.2.4.dist-info/licenses/LICENSE,sha256=vOab37NouL1PNs5BswnPayrMCqaN2sqLfMQfqPDrpZg,1103
28
+ gac-1.2.4.dist-info/RECORD,,
File without changes