gac 1.9.1__tar.gz → 1.9.2__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.

Files changed (35) hide show
  1. {gac-1.9.1 → gac-1.9.2}/PKG-INFO +1 -1
  2. {gac-1.9.1 → gac-1.9.2}/src/gac/__version__.py +1 -1
  3. {gac-1.9.1 → gac-1.9.2}/src/gac/init_cli.py +5 -3
  4. {gac-1.9.1 → gac-1.9.2}/.gitignore +0 -0
  5. {gac-1.9.1 → gac-1.9.2}/LICENSE +0 -0
  6. {gac-1.9.1 → gac-1.9.2}/README.md +0 -0
  7. {gac-1.9.1 → gac-1.9.2}/pyproject.toml +0 -0
  8. {gac-1.9.1 → gac-1.9.2}/src/gac/__init__.py +0 -0
  9. {gac-1.9.1 → gac-1.9.2}/src/gac/ai.py +0 -0
  10. {gac-1.9.1 → gac-1.9.2}/src/gac/ai_utils.py +0 -0
  11. {gac-1.9.1 → gac-1.9.2}/src/gac/cli.py +0 -0
  12. {gac-1.9.1 → gac-1.9.2}/src/gac/config.py +0 -0
  13. {gac-1.9.1 → gac-1.9.2}/src/gac/config_cli.py +0 -0
  14. {gac-1.9.1 → gac-1.9.2}/src/gac/constants.py +0 -0
  15. {gac-1.9.1 → gac-1.9.2}/src/gac/diff_cli.py +0 -0
  16. {gac-1.9.1 → gac-1.9.2}/src/gac/errors.py +0 -0
  17. {gac-1.9.1 → gac-1.9.2}/src/gac/git.py +0 -0
  18. {gac-1.9.1 → gac-1.9.2}/src/gac/main.py +0 -0
  19. {gac-1.9.1 → gac-1.9.2}/src/gac/preprocess.py +0 -0
  20. {gac-1.9.1 → gac-1.9.2}/src/gac/prompt.py +0 -0
  21. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/__init__.py +0 -0
  22. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/anthropic.py +0 -0
  23. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/cerebras.py +0 -0
  24. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/chutes.py +0 -0
  25. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/gemini.py +0 -0
  26. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/groq.py +0 -0
  27. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/lmstudio.py +0 -0
  28. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/ollama.py +0 -0
  29. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/openai.py +0 -0
  30. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/openrouter.py +0 -0
  31. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/streamlake.py +0 -0
  32. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/synthetic.py +0 -0
  33. {gac-1.9.1 → gac-1.9.2}/src/gac/providers/zai.py +0 -0
  34. {gac-1.9.1 → gac-1.9.2}/src/gac/security.py +0 -0
  35. {gac-1.9.1 → gac-1.9.2}/src/gac/utils.py +0 -0
@@ -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,3 +1,3 @@
1
1
  """Version information for gac package."""
2
2
 
3
- __version__ = "1.9.1"
3
+ __version__ = "1.9.2"
@@ -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"
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
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