gmsg 0.1.7__tar.gz → 0.1.8__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: gmsg
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: Generates git commit messages for you using AI.
5
5
  License: MIT
6
6
  Keywords: git,commit,ai
@@ -43,7 +43,7 @@ def make_query(diff: str) -> str:
43
43
  def trigger_query(query: str, api_key: str) -> str:
44
44
  try:
45
45
  client = genai.Client(api_key=api_key)
46
- msg = client.models.generate_content(model="gemini-2.0-flash",
46
+ msg = client.models.generate_content(model="gemini-2.5-flash",
47
47
  contents=query)
48
48
  return msg.text.strip()
49
49
  except genai.errors.ClientError as error:
@@ -52,7 +52,7 @@ def trigger_query(query: str, api_key: str) -> str:
52
52
  is_success=False)
53
53
  sys.exit(1)
54
54
  else:
55
- print(error, is_success=False)
55
+ printt(str(error), is_success=False)
56
56
  sys.exit(1)
57
57
 
58
58
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "gmsg"
3
- version = "0.1.7"
3
+ version = "0.1.8"
4
4
  description = "Generates git commit messages for you using AI."
5
5
  authors = ["Shiyan Shirani <shiyan99s@gmail.com>"]
6
6
  license = "MIT"
File without changes
File without changes
File without changes
File without changes