holmesgpt 0.12.0__py3-none-any.whl → 0.12.0a0__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 holmesgpt might be problematic. Click here for more details.
- holmes/__init__.py +1 -1
- holmes/config.py +2 -1
- holmes/utils/robusta.py +2 -3
- {holmesgpt-0.12.0.dist-info → holmesgpt-0.12.0a0.dist-info}/METADATA +1 -1
- {holmesgpt-0.12.0.dist-info → holmesgpt-0.12.0a0.dist-info}/RECORD +8 -8
- {holmesgpt-0.12.0.dist-info → holmesgpt-0.12.0a0.dist-info}/LICENSE.txt +0 -0
- {holmesgpt-0.12.0.dist-info → holmesgpt-0.12.0a0.dist-info}/WHEEL +0 -0
- {holmesgpt-0.12.0.dist-info → holmesgpt-0.12.0a0.dist-info}/entry_points.txt +0 -0
holmes/__init__.py
CHANGED
holmes/config.py
CHANGED
|
@@ -39,6 +39,7 @@ DEFAULT_CONFIG_LOCATION = os.path.expanduser("~/.holmes/config.yaml")
|
|
|
39
39
|
MODEL_LIST_FILE_LOCATION = os.environ.get(
|
|
40
40
|
"MODEL_LIST_FILE_LOCATION", "/etc/holmes/config/model_list.yaml"
|
|
41
41
|
)
|
|
42
|
+
ROBUSTA_AI_MODEL_NAME = "Robusta"
|
|
42
43
|
|
|
43
44
|
|
|
44
45
|
class SupportedTicketSources(str, Enum):
|
|
@@ -151,7 +152,7 @@ class Config(RobustaBaseConfig):
|
|
|
151
152
|
self._model_list = parse_models_file(MODEL_LIST_FILE_LOCATION)
|
|
152
153
|
if self._should_load_robusta_ai():
|
|
153
154
|
logging.info("Loading Robusta AI model")
|
|
154
|
-
self._model_list[
|
|
155
|
+
self._model_list[ROBUSTA_AI_MODEL_NAME] = {
|
|
155
156
|
"base_url": ROBUSTA_API_ENDPOINT,
|
|
156
157
|
}
|
|
157
158
|
|
holmes/utils/robusta.py
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
from holmes.config import Config
|
|
1
|
+
from holmes.config import Config, ROBUSTA_AI_MODEL_NAME
|
|
2
2
|
from holmes.core.supabase_dal import SupabaseDal
|
|
3
3
|
from pydantic import SecretStr
|
|
4
|
-
from holmes.common.env_vars import load_bool
|
|
5
4
|
|
|
6
5
|
|
|
7
6
|
def load_robusta_api_key(dal: SupabaseDal, config: Config):
|
|
8
|
-
if
|
|
7
|
+
if ROBUSTA_AI_MODEL_NAME in config._model_list:
|
|
9
8
|
account_id, token = dal.get_ai_credentials()
|
|
10
9
|
config.api_key = SecretStr(f"{account_id} {token}")
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
holmes/.git_archival.json,sha256=PbwdO7rNhEJ4ALiO12DPPb81xNAIsVxCA0m8OrVoqsk,182
|
|
2
|
-
holmes/__init__.py,sha256=
|
|
2
|
+
holmes/__init__.py,sha256=YOPbAEB6arNwdwPT4mge8qNkAdjgv1yQdSZK3qwUefY,2178
|
|
3
3
|
holmes/clients/robusta_client.py,sha256=b6zje8VF8aOpjXnluBcBDdf3Xb88yFXvKDcy2gV1DeM,672
|
|
4
4
|
holmes/common/env_vars.py,sha256=ayfuw30HnfWmEoghgWlF3vOwiarl7uQns_yxVfs7N_w,1915
|
|
5
|
-
holmes/config.py,sha256=
|
|
5
|
+
holmes/config.py,sha256=0wRpKpBNCFAXqxrcAmfyPMQ5WYOCypjhoLeL4m4ZZic,21324
|
|
6
6
|
holmes/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
holmes/core/conversations.py,sha256=LXT3T-5hwl4xHXBhO4XyOKm6k9w58anQ3dw4F2aptqs,20769
|
|
8
8
|
holmes/core/investigation.py,sha256=nSVkCfeliZjQT2PrgNPD3o1EwKe9je0Pq3F2bDNQiCU,5646
|
|
@@ -183,10 +183,10 @@ holmes/utils/holmes_status.py,sha256=7qUJU3TwMpQXS4Wri5dL2quUsZMkX0sR0OS9m0LHOms
|
|
|
183
183
|
holmes/utils/holmes_sync_toolsets.py,sha256=HNUMstaPP2NS5bnEHJMPFjKbAgvsevuuTdDiSUZ7Pkk,3225
|
|
184
184
|
holmes/utils/markdown_utils.py,sha256=_yDc_IRB5zkj9THUlZ6nzir44VfirTjPccC_DrFrBkc,1507
|
|
185
185
|
holmes/utils/pydantic_utils.py,sha256=g0e0jLTa8Je8JKrhEP4N5sMxj0_hhPOqFZr0Vpd67sg,1649
|
|
186
|
-
holmes/utils/robusta.py,sha256=
|
|
186
|
+
holmes/utils/robusta.py,sha256=4FZKv5DhDnvINuMlbyFRWCYdR4p7Pj4tyYIUkq1vHUU,363
|
|
187
187
|
holmes/utils/tags.py,sha256=SU4EZMBtLlIb7OlHsSpguFaypczRzOcuHYxDSanV3sQ,3364
|
|
188
|
-
holmesgpt-0.12.
|
|
189
|
-
holmesgpt-0.12.
|
|
190
|
-
holmesgpt-0.12.
|
|
191
|
-
holmesgpt-0.12.
|
|
192
|
-
holmesgpt-0.12.
|
|
188
|
+
holmesgpt-0.12.0a0.dist-info/LICENSE.txt,sha256=RdZMj8VXRQdVslr6PMYMbAEu5pOjOdjDqt3yAmWb9Ds,1072
|
|
189
|
+
holmesgpt-0.12.0a0.dist-info/METADATA,sha256=V2xw8ymq8gN2kOfuHbOnzgR4K_ziLf77XaTYiSsBxt4,21643
|
|
190
|
+
holmesgpt-0.12.0a0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
191
|
+
holmesgpt-0.12.0a0.dist-info/entry_points.txt,sha256=JdzEyZhpaYr7Boo4uy4UZgzY1VsAEbzMgGmHZtx9KFY,42
|
|
192
|
+
holmesgpt-0.12.0a0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|