gac 1.9.1__py3-none-any.whl → 1.9.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.9.1"
3
+ __version__ = "1.9.2"
gac/init_cli.py CHANGED
@@ -34,7 +34,7 @@ def init() -> None:
34
34
  providers = [
35
35
  ("Anthropic", "claude-haiku-4-5"),
36
36
  ("Cerebras", "qwen-3-coder-480b"),
37
- ("Chutes.ai", "zai-org/GLM-4.6-FP8"),
37
+ ("Chutes", "zai-org/GLM-4.6-FP8"),
38
38
  ("Gemini", "gemini-2.5-flash"),
39
39
  ("Groq", "meta-llama/llama-4-maverick-17b-128e-instruct"),
40
40
  ("LM Studio", "gemma3"),
@@ -51,7 +51,7 @@ def init() -> None:
51
51
  if not provider:
52
52
  click.echo("Provider selection cancelled. Exiting.")
53
53
  return
54
- provider_key = provider.lower().replace(".", "").replace(" ", "-").replace("syntheticnew", "synthetic")
54
+ provider_key = provider.lower().replace(".", "").replace(" ", "-")
55
55
 
56
56
  is_ollama = provider_key == "ollama"
57
57
  is_lmstudio = provider_key == "lm-studio"
@@ -104,7 +104,9 @@ def init() -> None:
104
104
 
105
105
  api_key = questionary.password(api_key_prompt).ask()
106
106
  if api_key:
107
- if is_zai:
107
+ if is_lmstudio:
108
+ api_key_name = "LMSTUDIO_API_KEY"
109
+ elif is_zai:
108
110
  api_key_name = "ZAI_API_KEY"
109
111
  else:
110
112
  api_key_name = f"{provider_key.upper()}_API_KEY"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gac
3
- Version: 1.9.1
3
+ Version: 1.9.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
@@ -1,5 +1,5 @@
1
1
  gac/__init__.py,sha256=z9yGInqtycFIT3g1ca24r-A3699hKVaRqGUI79wsmMc,415
2
- gac/__version__.py,sha256=G1n_WKkZXSioJbRY3wekL5t5AcCwR3K2fA6ITDQQ1NI,66
2
+ gac/__version__.py,sha256=VN_XJymBxiftXwN0s4gOlQsrcBlTbZEn8oO-SchPC_o,66
3
3
  gac/ai.py,sha256=-0rIZQCHC7yOEmkLtCLDzeInnrm960hVpiEELi8NM_U,3513
4
4
  gac/ai_utils.py,sha256=dGfac6ZWQARZDnH6ygnqQ2W4eTIDh_wOx6iGg5lA_Gw,7271
5
5
  gac/cli.py,sha256=15Io35xSvoZ7_q9ADgely1un0tAprNuLRPdghGaIQTg,5058
@@ -9,7 +9,7 @@ gac/constants.py,sha256=R3oUwPLk_uWnBkg-J7Or-vomRr-iVKeLf1xljJeKclo,4988
9
9
  gac/diff_cli.py,sha256=wnVQ9OFGnM0d2Pj9WVjWbo0jxqIuRHVAwmb8wU9Pa3E,5676
10
10
  gac/errors.py,sha256=ysDIVRCd0YQVTOW3Q6YzdolxCdtkoQCAFf3_jrqbjUY,7916
11
11
  gac/git.py,sha256=_Co25XA1Nku03h50C_HiEf4ugEz6rK5j_IYi-rr5gco,8005
12
- gac/init_cli.py,sha256=LEw26g-tb6GZdN3DaUuLx3OFvZPKPOIFKnqgDRe6Y8s,4677
12
+ gac/init_cli.py,sha256=inNVsFab8q-RAnhEtWzyxkqh7V4m5cIHMyajjYYqkWQ,4709
13
13
  gac/main.py,sha256=odWu_1Z0KVr--3duc4iFOE9ix0SGqykgzRDz-JY482c,15771
14
14
  gac/preprocess.py,sha256=krrLPHsccYMdn_YAtUrppBJIoRgevxGWusDwhE40LEo,15366
15
15
  gac/prompt.py,sha256=d_kBXmhf3bDVLyDj8J7AS7GBAxF2jlc8lXoHX3Dzi5k,24255
@@ -28,8 +28,8 @@ gac/providers/openrouter.py,sha256=H3ce8JcRUYq1I30lOjGESdX7jfoPkW3mKAYnc2aYfBw,2
28
28
  gac/providers/streamlake.py,sha256=KAA2ZnpuEI5imzvdWVWUhEBHSP0BMnprKXte6CbwBWY,2047
29
29
  gac/providers/synthetic.py,sha256=sRMIJTS9LpcXd9A7qp_ZjZxdqtTKRn9fl1W4YwJZP4c,1855
30
30
  gac/providers/zai.py,sha256=kywhhrCfPBu0rElZyb-iENxQxxpVGykvePuL4xrXlaU,2739
31
- gac-1.9.1.dist-info/METADATA,sha256=xUSS5EcAO1_k4RJ-ukG_XN7g_twtCy2F0jgjgn0RBLE,9279
32
- gac-1.9.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
33
- gac-1.9.1.dist-info/entry_points.txt,sha256=tdjN-XMmcWfL92swuRAjT62bFLOAwk9bTMRLGP5Z4aI,36
34
- gac-1.9.1.dist-info/licenses/LICENSE,sha256=vOab37NouL1PNs5BswnPayrMCqaN2sqLfMQfqPDrpZg,1103
35
- gac-1.9.1.dist-info/RECORD,,
31
+ gac-1.9.2.dist-info/METADATA,sha256=E4VZzr2vuCwygSwt_X1XkzOoDkVayCXCjYf7rFMv6r0,9279
32
+ gac-1.9.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
33
+ gac-1.9.2.dist-info/entry_points.txt,sha256=tdjN-XMmcWfL92swuRAjT62bFLOAwk9bTMRLGP5Z4aI,36
34
+ gac-1.9.2.dist-info/licenses/LICENSE,sha256=vOab37NouL1PNs5BswnPayrMCqaN2sqLfMQfqPDrpZg,1103
35
+ gac-1.9.2.dist-info/RECORD,,
File without changes