vellum-ai 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
vellum/client.py CHANGED
@@ -268,7 +268,7 @@ class Vellum:
268
268
  _request["external_id"] = external_id
269
269
  _response = self._client_wrapper.httpx_client.request(
270
270
  "POST",
271
- urllib.parse.urljoin(f"{self._client_wrapper.get_environment().default}/", "v1/execute-workflow"),
271
+ urllib.parse.urljoin(f"{self._client_wrapper.get_environment().predict}/", "v1/execute-workflow"),
272
272
  json=jsonable_encoder(_request),
273
273
  headers=self._client_wrapper.get_headers(),
274
274
  timeout=None,
@@ -896,7 +896,7 @@ class AsyncVellum:
896
896
  _request["external_id"] = external_id
897
897
  _response = await self._client_wrapper.httpx_client.request(
898
898
  "POST",
899
- urllib.parse.urljoin(f"{self._client_wrapper.get_environment().default}/", "v1/execute-workflow"),
899
+ urllib.parse.urljoin(f"{self._client_wrapper.get_environment().predict}/", "v1/execute-workflow"),
900
900
  json=jsonable_encoder(_request),
901
901
  headers=self._client_wrapper.get_headers(),
902
902
  timeout=None,
@@ -16,7 +16,7 @@ class BaseClientWrapper:
16
16
  headers: typing.Dict[str, str] = {
17
17
  "X-Fern-Language": "Python",
18
18
  "X-Fern-SDK-Name": "vellum-ai",
19
- "X-Fern-SDK-Version": "v0.2.1",
19
+ "X-Fern-SDK-Version": "v0.2.2",
20
20
  }
21
21
  headers["X_API_KEY"] = self.api_key
22
22
  return headers
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vellum-ai
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary:
5
5
  Requires-Python: >=3.7,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -1,8 +1,8 @@
1
1
  vellum/__init__.py,sha256=r2xz-ftFT8S6r4O0P0VDwuoCWvJkGmq3-jpWGXuPGtg,24851
2
- vellum/client.py,sha256=gLkXgzirHxRjv9M4TaHGiSijihtTi_FdkNQvNYWOLxY,65068
2
+ vellum/client.py,sha256=7ta08f7ROwrEoL6NEsUmbcabavvC80A7hWs8VdeNvFs,65068
3
3
  vellum/core/__init__.py,sha256=QJS3CJ2TYP2E1Tge0CS6Z7r8LTNzJHQVX1hD3558eP0,519
4
4
  vellum/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
5
- vellum/core/client_wrapper.py,sha256=oI43_TPY-7y9gbSprNEp4sZQ1h2b3sk5jz89y6wgfrM,1213
5
+ vellum/core/client_wrapper.py,sha256=3B_PyS6dlUjytf6N0jrZFCVipzn_7l4335LFiZTX2Xo,1213
6
6
  vellum/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
7
7
  vellum/core/jsonable_encoder.py,sha256=MTYkDov2EryHgee4QM46uZiBOuOXK9KTHlBdBwU-CpU,3799
8
8
  vellum/core/remove_none_from_dict.py,sha256=8m91FC3YuVem0Gm9_sXhJ2tGvP33owJJdrqCLEdowGw,330
@@ -287,7 +287,7 @@ vellum/types/workflow_result_event_output_data_number.py,sha256=zWtQor27iaDDHmY5
287
287
  vellum/types/workflow_result_event_output_data_search_results.py,sha256=frCaJ5kWrIqCeV-waBNfd7rO4fqWe5aYpSI8PM4-oRw,1323
288
288
  vellum/types/workflow_result_event_output_data_string.py,sha256=TByZxyQh9ci4UIdEmoEi_JK1U_JwYCnVZeB_4kGuXKM,1405
289
289
  vellum/types/workflow_stream_event.py,sha256=OQUSzwoM-OCfWxNzeOVVLsjCue_WWqin3tGMtwvp_rc,873
290
- vellum_ai-0.2.1.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
291
- vellum_ai-0.2.1.dist-info/METADATA,sha256=_Iqn5QSLiiX1jFjGIdtAI4gGFGez-Kw_-Mbpft5zwp4,3486
292
- vellum_ai-0.2.1.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
293
- vellum_ai-0.2.1.dist-info/RECORD,,
290
+ vellum_ai-0.2.2.dist-info/LICENSE,sha256=CcaljEIoOBaU-wItPH4PmM_mDCGpyuUY0Er1BGu5Ti8,1073
291
+ vellum_ai-0.2.2.dist-info/METADATA,sha256=LAaLvUwzx0_HwQzCK6zw8iON30AQ-HzQRun91msdvEs,3486
292
+ vellum_ai-0.2.2.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
293
+ vellum_ai-0.2.2.dist-info/RECORD,,