codespector 0.1.0__py3-none-any.whl → 0.1.1__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.
@@ -1,6 +1,5 @@
1
1
  import os.path
2
2
  from dataclasses import dataclass
3
- from typing import Self
4
3
 
5
4
  import ujson
6
5
  import requests
@@ -22,7 +21,7 @@ class AgentInfo:
22
21
  headers: dict
23
22
 
24
23
  @classmethod
25
- def create(cls, chat_agent: str, chat_token: str, chat_model: str | None = None) -> Self:
24
+ def create(cls, chat_agent: str, chat_token: str, chat_model: str | None = None) -> 'AgentInfo':
26
25
  url = AGENT_URL_MAPPING[chat_agent]
27
26
  model = chat_model if chat_model else DEFAULT_AGENT_MODEL[chat_agent]
28
27
  headers = {'Authorization': f'Bearer {chat_token}'}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codespector
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Assistant for reviewing your code
5
5
  Project-URL: Repository, https://github.com/Vladimir-Titov/codespector
6
6
  Project-URL: Issues, https://github.com/Vladimir-Titov/codespector/issues
@@ -6,9 +6,9 @@ codespector/clients/codestral.py,sha256=MV6_m9IMYzTHX5AS9UoPkhGUNHRoOXgIpTZ8uHfw
6
6
  codespector/local/__init__.py,sha256=spdqmAUYVjE-6RJUNUQ63ymwBY3svwC1gQp5QHAZdwg,35
7
7
  codespector/local/main.py,sha256=JQb8mBQEjxsjNnjpqCOP84ZF92T2DjTzCslRdHQLqlg,1136
8
8
  codespector/local/prepare.py,sha256=uqQft4RDH_5Rms3fGROc_fzCCRVcu-BxDzCAVF16buo,2821
9
- codespector/local/reviewer.py,sha256=3dyopW6Y79M3i5_vruzk6Kf_WfXK1Ac8PLGrPI8meTU,3611
10
- codespector-0.1.0.dist-info/METADATA,sha256=4ml2ECi_NgJ0siZMd3S9pV_x3v68YszFjDO-fqMNG6U,3160
11
- codespector-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
- codespector-0.1.0.dist-info/entry_points.txt,sha256=QlHn96KY8vzY1sOweKIuZOAQrSVse6h3v57vkwmHmJg,54
13
- codespector-0.1.0.dist-info/licenses/LICENSE,sha256=Eta34ENUL_dZWy-prVNucMkoA38WIqiO9pKTUYiuT_A,1070
14
- codespector-0.1.0.dist-info/RECORD,,
9
+ codespector/local/reviewer.py,sha256=76fd5_pTANnbpD-CgEhBboXbqvEFZGxR5a2WYpCA_8U,3594
10
+ codespector-0.1.1.dist-info/METADATA,sha256=Y1r6wl48uZjliAMwO3tl1JYDvHwv0xPHlQ5pSCbX-dg,3160
11
+ codespector-0.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
12
+ codespector-0.1.1.dist-info/entry_points.txt,sha256=QlHn96KY8vzY1sOweKIuZOAQrSVse6h3v57vkwmHmJg,54
13
+ codespector-0.1.1.dist-info/licenses/LICENSE,sha256=Eta34ENUL_dZWy-prVNucMkoA38WIqiO9pKTUYiuT_A,1070
14
+ codespector-0.1.1.dist-info/RECORD,,