promptlayer 1.0.9__py3-none-any.whl → 1.0.10__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 promptlayer might be problematic. Click here for more details.

promptlayer/__init__.py CHANGED
@@ -160,12 +160,12 @@ class PromptLayer:
160
160
  return stream_response(response, _track_request, stream_function)
161
161
  request_log = _track_request(request_response=response.model_dump())
162
162
  data = {
163
- "request_id": request_log["request_id"],
163
+ "request_id": request_log.get("request_id", None),
164
164
  "raw_response": response,
165
- "prompt_blueprint": request_log["prompt_blueprint"],
165
+ "prompt_blueprint": request_log.get("prompt_blueprint", None),
166
166
  }
167
167
  return data
168
168
 
169
169
 
170
- __version__ = "1.0.9"
170
+ __version__ = "1.0.10"
171
171
  __all__ = ["PromptLayer", "__version__"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: promptlayer
3
- Version: 1.0.9
3
+ Version: 1.0.10
4
4
  Summary: PromptLayer is a platform for prompt engineering and tracks your LLM requests.
5
5
  License: Apache-2.0
6
6
  Author: Magniv
@@ -1,4 +1,4 @@
1
- promptlayer/__init__.py,sha256=BAOt7w3kG7E4BYiq8q6mc2yw1uCx9JXLJne4zsgxOCA,6358
1
+ promptlayer/__init__.py,sha256=B2HTL7bkw7aFZ6bB-YQREYwAPHG5R978h9Wa1Kjqo8s,6379
2
2
  promptlayer/groups/__init__.py,sha256=-xs-2cn0nc0D_5YxZr3nC86iTdRVZmBhEpOKDJXE-sQ,224
3
3
  promptlayer/groups/groups.py,sha256=yeO6T0TM3qB0ondZRiHhcH8G06YygrpFoM8b9RmoIao,165
4
4
  promptlayer/promptlayer.py,sha256=1q1cZOBt27Luzu3aRWcYUjQiKbmwrF9R62Uw95Ryqqc,4035
@@ -8,7 +8,7 @@ promptlayer/track/track.py,sha256=XNEZT9yNiRBPp9vaDZo_f0dP_ldOu8q1qafpVfS5Ze8,16
8
8
  promptlayer/types/__init__.py,sha256=ulWSyCrk5hZ_PI-nKGpd6GPcRaK8lqP4wFl0LPNUYWk,61
9
9
  promptlayer/types/prompt_template.py,sha256=QbxYSeIubrwp8KmDKdt9syAwzONFPh_So9yr4H73ANQ,4429
10
10
  promptlayer/utils.py,sha256=jkto4JeHdEK7eoPN50H0AjlWZHk5twzFpMmvMP-rNZU,27941
11
- promptlayer-1.0.9.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
12
- promptlayer-1.0.9.dist-info/METADATA,sha256=qLgakZ8ID4c23WLcSaC84vk15AUjb6yli3Zu90-e8d4,4506
13
- promptlayer-1.0.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
14
- promptlayer-1.0.9.dist-info/RECORD,,
11
+ promptlayer-1.0.10.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
12
+ promptlayer-1.0.10.dist-info/METADATA,sha256=PhroaYG11uWxuJMUE-ZzhFw8qmvHg9g-hS0lKvfw6WE,4507
13
+ promptlayer-1.0.10.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
14
+ promptlayer-1.0.10.dist-info/RECORD,,