devgen-cli 0.2.2__py3-none-any.whl → 0.2.3__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.
@@ -39,6 +39,9 @@ class OpenaiProvider:
39
39
  # Add error handling if the client fails to initialize
40
40
  raise RuntimeError(f"Failed to initialize OpenAI client: {e}")
41
41
 
42
+ # Remove debug from kwargs if present
43
+ kwargs.pop("debug", None)
44
+
42
45
  # 2. Use the modern API syntax: client.chat.completions.create
43
46
  response = client.chat.completions.create(
44
47
  model=model or self.DEFAULT_MODEL,
@@ -19,6 +19,9 @@ class OpenrouterProvider:
19
19
  api_key=api_key,
20
20
  )
21
21
 
22
+ # Remove debug from kwargs if present
23
+ kwargs.pop("debug", None)
24
+
22
25
  response = client.chat.completions.create(
23
26
  model=model,
24
27
  messages=[{"role": "user", "content": prompt}],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: devgen-cli
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: A collection of developer tools
5
5
  Home-page: https://github.com/S4NKALP/devgen
6
6
  Author: Sankalp Tharu
@@ -20,8 +20,8 @@ devgen/providers/__init__.py,sha256=44ibMNiWX5IOm37_uTgX4OGLsUWGAlmzALF7uKOn7T8,
20
20
  devgen/providers/anthropic.py,sha256=IeOwQTLcemOlSLAHAu7MPQVoAK2ZvjixzKuKKNq2nqs,782
21
21
  devgen/providers/gemini.py,sha256=xrFo5vMTCpWjg2eUaLDygDc949K1-esp31rMSsIUZEY,792
22
22
  devgen/providers/huggingface.py,sha256=bJjna6XDcjSWb6E-RZOYzSjP8ea5X5_zjCQAekF1iIc,1575
23
- devgen/providers/openai.py,sha256=4uiPC1NrqR6Qu_hMouLMjpZWs5kNK2ZIkb37F_y1Sek,2173
24
- devgen/providers/openrouter.py,sha256=NT7v8GujUH0Pg8TA9CG1SIkKSd3H-YEQmSfpU1Vc1GU,1107
23
+ devgen/providers/openai.py,sha256=e92AMNles5yZeDnTQHcWcqAvH-p-10Ptqxbcwuz9pWA,2254
24
+ devgen/providers/openrouter.py,sha256=Cnu8A9hwjiWzL_s2dwXbQDbhRqqXqlcnGTyqxqZKhLQ,1196
25
25
  devgen/templates/commit/commit_message.j2,sha256=gTECP-5V5rAwCpg3gT7SsLAMT9AnSibC8vHXDe80yR4,793
26
26
  devgen/templates/licenses/agpl-3.0.json,sha256=lYJObhc3-nBQQD2L3cw9C-Q9ceiV26qkzp6b1H7NnZ4,35832
27
27
  devgen/templates/licenses/apache-2.0.json,sha256=7U9zUdz8kbmrtL0hDgOgtYMhRnA7Qi7WuDxSMNQ0MIU,11989
@@ -36,9 +36,9 @@ devgen/templates/licenses/lgpl-2.1.json,sha256=M1uxVajrZBccW3gX5cYwMdZ0DyBLbxnmP
36
36
  devgen/templates/licenses/mit.json,sha256=NfRzL86O8TZOY2ZRdelQFEVX0t1o3bUJtqmib-pXM0s,1426
37
37
  devgen/templates/licenses/mpl-2.0.json,sha256=Fq-oj2-z5TZS2Qr9bQHea-Nm_baC2_7DQtuSKT476Yk,17729
38
38
  devgen/templates/licenses/unlicense.json,sha256=uWl_NnBn_Daqu-0df7y4E5H0q7KUdDby3TK1IHBDr4Y,1553
39
- devgen_cli-0.2.2.dist-info/licenses/LICENSE,sha256=-JHhLXXB2RRUeojKiRRTDHyJ1QiOCtrDfwbahUOb6Yc,35150
40
- devgen_cli-0.2.2.dist-info/METADATA,sha256=BuzNRmX17n8I_Qmbqo7jvHJ8t7xUWQeqziedZvQK72Y,6020
41
- devgen_cli-0.2.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
42
- devgen_cli-0.2.2.dist-info/entry_points.txt,sha256=NdqXSz3M3_0x0I3tFrXEF7r0mwCDmMfUNZbh2HDZSCg,47
43
- devgen_cli-0.2.2.dist-info/top_level.txt,sha256=u-4SzOUkP7II9PqLZ4PCpIAsxv4tuxuJ4gtdApYG4Bw,7
44
- devgen_cli-0.2.2.dist-info/RECORD,,
39
+ devgen_cli-0.2.3.dist-info/licenses/LICENSE,sha256=-JHhLXXB2RRUeojKiRRTDHyJ1QiOCtrDfwbahUOb6Yc,35150
40
+ devgen_cli-0.2.3.dist-info/METADATA,sha256=BmEV-sUK8-s3V4K_Gx2mSirHbNRsT6Iu-MZiqfps0jE,6020
41
+ devgen_cli-0.2.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
42
+ devgen_cli-0.2.3.dist-info/entry_points.txt,sha256=NdqXSz3M3_0x0I3tFrXEF7r0mwCDmMfUNZbh2HDZSCg,47
43
+ devgen_cli-0.2.3.dist-info/top_level.txt,sha256=u-4SzOUkP7II9PqLZ4PCpIAsxv4tuxuJ4gtdApYG4Bw,7
44
+ devgen_cli-0.2.3.dist-info/RECORD,,