vellum-ai 0.13.25__py3-none-any.whl → 0.13.26__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.
- vellum/client/core/client_wrapper.py +1 -1
- {vellum_ai-0.13.25.dist-info → vellum_ai-0.13.26.dist-info}/METADATA +1 -1
- {vellum_ai-0.13.25.dist-info → vellum_ai-0.13.26.dist-info}/RECORD +7 -7
- vellum_ee/workflows/display/nodes/vellum/inline_prompt_node.py +3 -2
- {vellum_ai-0.13.25.dist-info → vellum_ai-0.13.26.dist-info}/LICENSE +0 -0
- {vellum_ai-0.13.25.dist-info → vellum_ai-0.13.26.dist-info}/WHEEL +0 -0
- {vellum_ai-0.13.25.dist-info → vellum_ai-0.13.26.dist-info}/entry_points.txt +0 -0
@@ -18,7 +18,7 @@ class BaseClientWrapper:
|
|
18
18
|
headers: typing.Dict[str, str] = {
|
19
19
|
"X-Fern-Language": "Python",
|
20
20
|
"X-Fern-SDK-Name": "vellum-ai",
|
21
|
-
"X-Fern-SDK-Version": "0.13.
|
21
|
+
"X-Fern-SDK-Version": "0.13.26",
|
22
22
|
}
|
23
23
|
headers["X_API_KEY"] = self.api_key
|
24
24
|
return headers
|
@@ -35,7 +35,7 @@ vellum_ee/workflows/display/nodes/vellum/conditional_node.py,sha256=ybLIa4uclqVI
|
|
35
35
|
vellum_ee/workflows/display/nodes/vellum/error_node.py,sha256=I1Jkp2htRINJATtv1e-zs9BrReFX842djpiVgBPHDYg,2186
|
36
36
|
vellum_ee/workflows/display/nodes/vellum/final_output_node.py,sha256=p-PvlnxpBQ7IKskZi2A19jKAtKnSxJ8LPbGMA83VkFk,2805
|
37
37
|
vellum_ee/workflows/display/nodes/vellum/guardrail_node.py,sha256=aYZSJTxknU4LMiQdWk9LcK6CkhdozeDEMiRxfAyUNEc,2202
|
38
|
-
vellum_ee/workflows/display/nodes/vellum/inline_prompt_node.py,sha256=
|
38
|
+
vellum_ee/workflows/display/nodes/vellum/inline_prompt_node.py,sha256=aNZhjw5CwpUO8IcLJ2nhYrzn96RJ3FWeJXdfDizuPzw,8491
|
39
39
|
vellum_ee/workflows/display/nodes/vellum/inline_subworkflow_node.py,sha256=9858pFzuhkAAmLcw4gkt5mPvsqWk5vqcX_vwHOg2xZw,5610
|
40
40
|
vellum_ee/workflows/display/nodes/vellum/map_node.py,sha256=VlO3UwkspCOdDQ-h3v8k16-7JZwWNSLpOLT4p-eirIs,3740
|
41
41
|
vellum_ee/workflows/display/nodes/vellum/merge_node.py,sha256=HkNMgdQELiON42jdO-xDLmqrEKdGx1RVqrz2DXNTLS8,3239
|
@@ -116,7 +116,7 @@ vellum/client/README.md,sha256=JkCJjmMZl4jrPj46pkmL9dpK4gSzQQmP5I7z4aME4LY,4749
|
|
116
116
|
vellum/client/__init__.py,sha256=j6zi0NZ4BMC6JrwckvzMWuG5x8KoOvO4KqsLhvVCa68,117624
|
117
117
|
vellum/client/core/__init__.py,sha256=SQ85PF84B9MuKnBwHNHWemSGuy-g_515gFYNFhvEE0I,1438
|
118
118
|
vellum/client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
119
|
-
vellum/client/core/client_wrapper.py,sha256=
|
119
|
+
vellum/client/core/client_wrapper.py,sha256=OeB6d4nSFCwetdfw5HC-RyJ2w6UtPzrA37zmdAlKB-k,1869
|
120
120
|
vellum/client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
121
121
|
vellum/client/core/file.py,sha256=X9IbmkZmB2bB_DpmZAO3crWdXagOakAyn6UCOCImCPg,2322
|
122
122
|
vellum/client/core/http_client.py,sha256=R0pQpCppnEtxccGvXl4uJ76s7ro_65Fo_erlNNLp_AI,19228
|
@@ -1465,8 +1465,8 @@ vellum/workflows/vellum_client.py,sha256=ODrq_TSl-drX2aezXegf7pizpWDVJuTXH-j6528
|
|
1465
1465
|
vellum/workflows/workflows/__init__.py,sha256=KY45TqvavCCvXIkyCFMEc0dc6jTMOUci93U2DUrlZYc,66
|
1466
1466
|
vellum/workflows/workflows/base.py,sha256=uYT0TQnEDtVaH3pErq785FhxxEEmk7C5ZGfuSO3QK8c,18537
|
1467
1467
|
vellum/workflows/workflows/event_filters.py,sha256=GSxIgwrX26a1Smfd-6yss2abGCnadGsrSZGa7t7LpJA,2008
|
1468
|
-
vellum_ai-0.13.
|
1469
|
-
vellum_ai-0.13.
|
1470
|
-
vellum_ai-0.13.
|
1471
|
-
vellum_ai-0.13.
|
1472
|
-
vellum_ai-0.13.
|
1468
|
+
vellum_ai-0.13.26.dist-info/LICENSE,sha256=hOypcdt481qGNISA784bnAGWAE6tyIf9gc2E78mYC3E,1574
|
1469
|
+
vellum_ai-0.13.26.dist-info/METADATA,sha256=n7NYOH_C-oUfeRVoWTK8GcOHT2JMSgqF8AU1VdqtHwg,5335
|
1470
|
+
vellum_ai-0.13.26.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
1471
|
+
vellum_ai-0.13.26.dist-info/entry_points.txt,sha256=HCH4yc_V3J_nDv3qJzZ_nYS8llCHZViCDP1ejgCc5Ak,42
|
1472
|
+
vellum_ai-0.13.26.dist-info/RECORD,,
|
@@ -39,7 +39,7 @@ class BaseInlinePromptNodeDisplay(BaseNodeVellumDisplay[_InlinePromptNodeType],
|
|
39
39
|
self._generate_prompt_block(block, input_variable_id_by_name, [i]) for i, block in enumerate(node_blocks)
|
40
40
|
]
|
41
41
|
functions = (
|
42
|
-
[self._generate_function_tools(function) for function in function_definitions]
|
42
|
+
[self._generate_function_tools(function, i) for i, function in enumerate(function_definitions)]
|
43
43
|
if function_definitions
|
44
44
|
else []
|
45
45
|
)
|
@@ -100,11 +100,12 @@ class BaseInlinePromptNodeDisplay(BaseNodeVellumDisplay[_InlinePromptNodeType],
|
|
100
100
|
|
101
101
|
return node_inputs, prompt_inputs
|
102
102
|
|
103
|
-
def _generate_function_tools(self, function: Union[FunctionDefinition, Callable]) -> JsonObject:
|
103
|
+
def _generate_function_tools(self, function: Union[FunctionDefinition, Callable], index: int) -> JsonObject:
|
104
104
|
normalized_functions = (
|
105
105
|
function if isinstance(function, FunctionDefinition) else compile_function_definition(function)
|
106
106
|
)
|
107
107
|
return {
|
108
|
+
"id": str(uuid4_from_hash(f"{self.node_id}-FUNCTION_DEFINITION-{index}")),
|
108
109
|
"block_type": "FUNCTION_DEFINITION",
|
109
110
|
"properties": {
|
110
111
|
"function_name": normalized_functions.name,
|
File without changes
|
File without changes
|
File without changes
|