gac 1.2.1__py3-none-any.whl → 1.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.

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.1"
3
+ __version__ = "1.2.2"
@@ -19,15 +19,6 @@ def call_openrouter_api(model: str, messages: list[dict], temperature: float, ma
19
19
  "Authorization": f"Bearer {api_key}",
20
20
  }
21
21
 
22
- # Add optional headers if environment variables are set
23
- site_url = os.getenv("OPENROUTER_SITE_URL")
24
- if site_url:
25
- headers["HTTP-Referer"] = site_url
26
-
27
- site_name = os.getenv("OPENROUTER_SITE_NAME")
28
- if site_name:
29
- headers["X-Title"] = site_name
30
-
31
22
  data = {
32
23
  "model": model,
33
24
  "messages": messages,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gac
3
- Version: 1.2.1
3
+ Version: 1.2.2
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
@@ -139,8 +139,6 @@ ANTHROPIC_API_KEY=your_anthropic_key_here
139
139
  # Optional: configure OpenRouter
140
140
  # GAC_MODEL=openrouter:openrouter/auto
141
141
  # OPENROUTER_API_KEY=your_openrouter_key_here
142
- # OPENROUTER_SITE_URL=https://example.com
143
- # OPENROUTER_SITE_NAME=Example App
144
142
  ```
145
143
 
146
144
  Alternatively, you can configure `gac` using environment variables or by manually creating/editing the configuration file.
@@ -1,5 +1,5 @@
1
1
  gac/__init__.py,sha256=HFWgSVNbTAFhgetCRWI1WrtyE7zC7IHvoBOrfDGUurM,989
2
- gac/__version__.py,sha256=mlHECiUCezS8zokbb1QH5XRF5CbT1gnkLsHOUqsJMpQ,66
2
+ gac/__version__.py,sha256=iNS1DVqJb74bO6_PxrsUIrOdhcYnsH1F80ZnErn3N7A,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
@@ -20,9 +20,9 @@ gac/providers/cerebras.py,sha256=eE9lAjEzrATIo941vv97I2DSmpnXYBCJ9HkVIb-6Whg,113
20
20
  gac/providers/groq.py,sha256=Z-j-RKrRGV7evSWxTyKKnPff1Mn5YmYZxitqWVlwadE,2452
21
21
  gac/providers/ollama.py,sha256=Bp94DvortQssDhekuNdJ7fKLeWpWASYXSssJNCuGszg,1383
22
22
  gac/providers/openai.py,sha256=1l-Wu7ETXXaJ7cNB3OD5ivf4_72iIEP9bPFMQst8JWI,1109
23
- gac/providers/openrouter.py,sha256=Vs0MXfv9KCldfEUD2roTwcXqs89tgE3ndNqRKoqdJQs,1473
24
- gac-1.2.1.dist-info/METADATA,sha256=RWaYfOmCltyXsiO0a3Fuz1Qy-0Msr7tAWySzG2OdXsw,8558
25
- gac-1.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
26
- gac-1.2.1.dist-info/entry_points.txt,sha256=tdjN-XMmcWfL92swuRAjT62bFLOAwk9bTMRLGP5Z4aI,36
27
- gac-1.2.1.dist-info/licenses/LICENSE,sha256=vOab37NouL1PNs5BswnPayrMCqaN2sqLfMQfqPDrpZg,1103
28
- gac-1.2.1.dist-info/RECORD,,
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,,
File without changes