promptlayer 1.0.23__tar.gz → 1.0.24__tar.gz

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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: promptlayer
3
- Version: 1.0.23
3
+ Version: 1.0.24
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
1
  from .promptlayer import PromptLayer
2
2
 
3
- __version__ = "1.0.23"
3
+ __version__ = "1.0.24"
4
4
  __all__ = ["PromptLayer", "__version__"]
@@ -377,7 +377,9 @@ class PromptLayer:
377
377
  input_variables: Optional[Dict[str, Any]] = None,
378
378
  metadata: Optional[Dict[str, str]] = None,
379
379
  workflow_label_name: Optional[str] = None,
380
- workflow_version_number: Optional[int] = None,
380
+ workflow_version: Optional[
381
+ int
382
+ ] = None, # This is the version number, not the version ID
381
383
  ) -> Dict[str, Any]:
382
384
  try:
383
385
  result = run_workflow_request(
@@ -385,7 +387,7 @@ class PromptLayer:
385
387
  input_variables=input_variables or {},
386
388
  metadata=metadata,
387
389
  workflow_label_name=workflow_label_name,
388
- workflow_version_number=workflow_version_number,
390
+ workflow_version_number=workflow_version,
389
391
  api_key=self.api_key,
390
392
  )
391
393
  return result
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "promptlayer"
3
- version = "1.0.23"
3
+ version = "1.0.24"
4
4
  description = "PromptLayer is a platform for prompt engineering and tracks your LLM requests."
5
5
  authors = ["Magniv <hello@magniv.io>"]
6
6
  license = "Apache-2.0"
File without changes
File without changes