lucidicai 1.2.12__py3-none-any.whl → 1.2.13__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.
lucidicai/client.py CHANGED
@@ -135,6 +135,8 @@ class Client:
135
135
  break
136
136
  except Exception:
137
137
  pass
138
+ if response is None:
139
+ raise InvalidOperationError("Cannot reach backend. Check your internet connection.")
138
140
  if response.status_code == 401:
139
141
  raise APIKeyVerificationError("Invalid API key: 401 Unauthorized")
140
142
  if response.status_code == 402:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lucidicai
3
- Version: 1.2.12
3
+ Version: 1.2.13
4
4
  Summary: Lucidic AI Python SDK
5
5
  Author: Andy Liang
6
6
  Author-email: andy@lucidic.ai
@@ -1,6 +1,6 @@
1
1
  lucidicai/__init__.py,sha256=gYHjKKbjNwsY1uEcL4ogIJqHzKeabqKlKdz3H_XNGXY,18173
2
2
  lucidicai/action.py,sha256=sPRd1hTIVXDqnvG9ZXWEipUFh0bsXcE0Fm7RVqmVccM,237
3
- lucidicai/client.py,sha256=VTpgLWST3-RNMurSPIApUbjKPm9g4F_zTd5I6Gkr2qc,5569
3
+ lucidicai/client.py,sha256=axJ9JjDq6qIuyyYtiQlMREPTKD_eKve-0pOBKHH7HZg,5695
4
4
  lucidicai/constants.py,sha256=_u0z3M4geZgS1g-CrOZUVjtcew8l70dKQnpVQvlXh9w,2172
5
5
  lucidicai/errors.py,sha256=gTg0bdzjuTcUnakRbZnxjngO4gZnRLVwRHRglpZZJsM,970
6
6
  lucidicai/event.py,sha256=9Z1yuP7Pef0sdXABU9SCHCLZSu6DfK--uGZoq-a9_IA,1974
@@ -19,7 +19,7 @@ lucidicai/providers/openai_agents_handler.py,sha256=AAMtY7HZ-7UvTn1RVwd-uHhibJus
19
19
  lucidicai/providers/openai_handler.py,sha256=j2SW3YlGY1FhMO7d03WaIRxAtti6xATnoo2h8jh-uJk,35166
20
20
  lucidicai/providers/opentelemetry_converter.py,sha256=xOHCqoTyO4hUkL6k7fxy84PbljPpYep6ET9ZqbkJehc,17665
21
21
  lucidicai/providers/pydantic_ai_handler.py,sha256=Vu03SEqRuQNbmOK3iPwWVqczVRZNDDVoilDILIycK8c,28935
22
- lucidicai-1.2.12.dist-info/METADATA,sha256=1WZmADg8jhX9e0fsBsbTfbbsinqvlSBeBNmHUqBgKJ8,577
23
- lucidicai-1.2.12.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
24
- lucidicai-1.2.12.dist-info/top_level.txt,sha256=vSSdM3lclF4I5tyVC0xxUk8eIRnnYXMe1hW-eO91HUo,10
25
- lucidicai-1.2.12.dist-info/RECORD,,
22
+ lucidicai-1.2.13.dist-info/METADATA,sha256=JwKTQtiaKO8529OgFcPskeitCzAeKGLpFdTUHl3QV5o,577
23
+ lucidicai-1.2.13.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
24
+ lucidicai-1.2.13.dist-info/top_level.txt,sha256=vSSdM3lclF4I5tyVC0xxUk8eIRnnYXMe1hW-eO91HUo,10
25
+ lucidicai-1.2.13.dist-info/RECORD,,