vellum-ai 0.14.11__py3-none-any.whl → 0.14.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.
- vellum/client/core/client_wrapper.py +1 -1
- vellum/workflows/descriptors/base.py +3 -0
- vellum/workflows/events/workflow.py +23 -0
- vellum/workflows/inputs/base.py +26 -18
- vellum/workflows/inputs/tests/test_inputs.py +1 -1
- vellum/workflows/nodes/bases/base.py +7 -0
- vellum/workflows/nodes/core/inline_subworkflow_node/node.py +7 -0
- vellum/workflows/nodes/core/inline_subworkflow_node/tests/test_node.py +32 -0
- vellum/workflows/nodes/core/map_node/node.py +28 -7
- vellum/workflows/nodes/core/map_node/tests/test_node.py +31 -0
- vellum/workflows/nodes/core/try_node/node.py +7 -0
- vellum/workflows/nodes/core/try_node/tests/test_node.py +32 -0
- vellum/workflows/nodes/displayable/subworkflow_deployment_node/node.py +5 -4
- vellum/workflows/nodes/displayable/subworkflow_deployment_node/tests/test_node.py +111 -0
- vellum/workflows/nodes/mocks.py +229 -2
- vellum/workflows/nodes/tests/__init__.py +0 -0
- vellum/workflows/nodes/tests/test_mocks.py +207 -0
- vellum/workflows/outputs/base.py +1 -1
- {vellum_ai-0.14.11.dist-info → vellum_ai-0.14.13.dist-info}/METADATA +2 -2
- {vellum_ai-0.14.11.dist-info → vellum_ai-0.14.13.dist-info}/RECORD +28 -26
- vellum_ee/workflows/display/nodes/base_node_display.py +20 -4
- vellum_ee/workflows/display/nodes/get_node_display_class.py +9 -0
- vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_adornments_serialization.py +24 -1
- vellum_ee/workflows/display/workflows/base_workflow_display.py +2 -2
- vellum_ee/workflows/display/workflows/tests/test_workflow_display.py +20 -0
- {vellum_ai-0.14.11.dist-info → vellum_ai-0.14.13.dist-info}/LICENSE +0 -0
- {vellum_ai-0.14.11.dist-info → vellum_ai-0.14.13.dist-info}/WHEEL +0 -0
- {vellum_ai-0.14.11.dist-info → vellum_ai-0.14.13.dist-info}/entry_points.txt +0 -0
vellum/workflows/nodes/mocks.py
CHANGED
@@ -1,10 +1,102 @@
|
|
1
|
-
from
|
1
|
+
from functools import reduce
|
2
|
+
from uuid import UUID
|
3
|
+
from typing import TYPE_CHECKING, Any, List, Literal, Optional, Sequence, Type, Union
|
2
4
|
|
3
|
-
from pydantic import ConfigDict
|
5
|
+
from pydantic import ConfigDict, ValidationError
|
4
6
|
|
5
7
|
from vellum.client.core.pydantic_utilities import UniversalBaseModel
|
8
|
+
from vellum.client.types.array_vellum_value import ArrayVellumValue
|
9
|
+
from vellum.client.types.vellum_value import VellumValue
|
6
10
|
from vellum.workflows.descriptors.base import BaseDescriptor
|
11
|
+
from vellum.workflows.errors.types import WorkflowErrorCode
|
12
|
+
from vellum.workflows.exceptions import WorkflowInitializationException
|
7
13
|
from vellum.workflows.outputs.base import BaseOutputs
|
14
|
+
from vellum.workflows.references.constant import ConstantValueReference
|
15
|
+
|
16
|
+
if TYPE_CHECKING:
|
17
|
+
from vellum.workflows import BaseWorkflow
|
18
|
+
|
19
|
+
import logging
|
20
|
+
|
21
|
+
logger = logging.getLogger(__name__)
|
22
|
+
|
23
|
+
|
24
|
+
class _RawLogicalCondition(UniversalBaseModel):
|
25
|
+
type: Literal["LOGICAL_CONDITION"] = "LOGICAL_CONDITION"
|
26
|
+
lhs_variable_id: UUID
|
27
|
+
operator: Literal["==", ">", ">=", "<", "<=", "!="]
|
28
|
+
rhs_variable_id: UUID
|
29
|
+
|
30
|
+
|
31
|
+
class _RawLogicalConditionGroup(UniversalBaseModel):
|
32
|
+
type: Literal["LOGICAL_CONDITION_GROUP"] = "LOGICAL_CONDITION_GROUP"
|
33
|
+
conditions: List["_RawLogicalExpression"]
|
34
|
+
combinator: Literal["AND", "OR"]
|
35
|
+
negated: bool
|
36
|
+
|
37
|
+
|
38
|
+
_RawLogicalExpression = Union[_RawLogicalCondition, _RawLogicalConditionGroup]
|
39
|
+
|
40
|
+
|
41
|
+
class _RawLogicalExpressionVariable(UniversalBaseModel):
|
42
|
+
id: UUID
|
43
|
+
|
44
|
+
|
45
|
+
class _RawMockWorkflowNodeExecutionConstantValuePointer(_RawLogicalExpressionVariable):
|
46
|
+
type: Literal["CONSTANT_VALUE"] = "CONSTANT_VALUE"
|
47
|
+
variable_value: VellumValue
|
48
|
+
|
49
|
+
|
50
|
+
class _RawMockWorkflowNodeExecutionNodeExecutionCounterPointer(_RawLogicalExpressionVariable):
|
51
|
+
type: Literal["EXECUTION_COUNTER"] = "EXECUTION_COUNTER"
|
52
|
+
node_id: UUID
|
53
|
+
|
54
|
+
|
55
|
+
class _RawMockWorkflowNodeExecutionInputVariablePointer(_RawLogicalExpressionVariable):
|
56
|
+
type: Literal["INPUT_VARIABLE"] = "INPUT_VARIABLE"
|
57
|
+
input_variable_id: UUID
|
58
|
+
|
59
|
+
|
60
|
+
class _RawMockWorkflowNodeExecutionNodeOutputPointer(_RawLogicalExpressionVariable):
|
61
|
+
type: Literal["NODE_OUTPUT"] = "NODE_OUTPUT"
|
62
|
+
node_id: UUID
|
63
|
+
input_id: UUID
|
64
|
+
|
65
|
+
|
66
|
+
class _RawMockWorkflowNodeExecutionNodeInputPointer(_RawLogicalExpressionVariable):
|
67
|
+
type: Literal["NODE_INPUT"] = "NODE_INPUT"
|
68
|
+
node_id: UUID
|
69
|
+
input_id: UUID
|
70
|
+
|
71
|
+
|
72
|
+
_RawMockWorkflowNodeExecutionValuePointer = Union[
|
73
|
+
_RawMockWorkflowNodeExecutionConstantValuePointer,
|
74
|
+
_RawMockWorkflowNodeExecutionNodeExecutionCounterPointer,
|
75
|
+
_RawMockWorkflowNodeExecutionInputVariablePointer,
|
76
|
+
_RawMockWorkflowNodeExecutionNodeOutputPointer,
|
77
|
+
_RawMockWorkflowNodeExecutionNodeInputPointer,
|
78
|
+
]
|
79
|
+
|
80
|
+
|
81
|
+
class _RawMockWorkflowNodeWhenCondition(UniversalBaseModel):
|
82
|
+
expression: _RawLogicalExpression
|
83
|
+
variables: List[_RawMockWorkflowNodeExecutionValuePointer]
|
84
|
+
|
85
|
+
|
86
|
+
class _RawMockWorkflowNodeThenOutput(UniversalBaseModel):
|
87
|
+
output_id: UUID
|
88
|
+
value: _RawMockWorkflowNodeExecutionValuePointer
|
89
|
+
|
90
|
+
|
91
|
+
class _RawMockWorkflowNodeExecution(UniversalBaseModel):
|
92
|
+
when_condition: _RawMockWorkflowNodeWhenCondition
|
93
|
+
then_outputs: List[_RawMockWorkflowNodeThenOutput]
|
94
|
+
|
95
|
+
|
96
|
+
class _RawMockWorkflowNodeConfig(UniversalBaseModel):
|
97
|
+
type: Literal["WORKFLOW_NODE_OUTPUT"] = "WORKFLOW_NODE_OUTPUT"
|
98
|
+
node_id: UUID
|
99
|
+
mock_executions: List[_RawMockWorkflowNodeExecution]
|
8
100
|
|
9
101
|
|
10
102
|
class MockNodeExecution(UniversalBaseModel):
|
@@ -13,5 +105,140 @@ class MockNodeExecution(UniversalBaseModel):
|
|
13
105
|
|
14
106
|
model_config = ConfigDict(arbitrary_types_allowed=True)
|
15
107
|
|
108
|
+
@staticmethod
|
109
|
+
def validate_all(
|
110
|
+
raw_mock_workflow_node_configs: Optional[List[Any]],
|
111
|
+
workflow: Type["BaseWorkflow"],
|
112
|
+
) -> Optional[List["MockNodeExecution"]]:
|
113
|
+
if not raw_mock_workflow_node_configs:
|
114
|
+
return None
|
115
|
+
|
116
|
+
ArrayVellumValue.model_rebuild()
|
117
|
+
try:
|
118
|
+
mock_workflow_node_configs = [
|
119
|
+
_RawMockWorkflowNodeConfig.model_validate(raw_mock_workflow_node_config)
|
120
|
+
for raw_mock_workflow_node_config in raw_mock_workflow_node_configs
|
121
|
+
]
|
122
|
+
except ValidationError as e:
|
123
|
+
raise WorkflowInitializationException(
|
124
|
+
message="Failed to validate mock node executions",
|
125
|
+
code=WorkflowErrorCode.INVALID_INPUTS,
|
126
|
+
) from e
|
127
|
+
|
128
|
+
nodes = {node.__id__: node for node in workflow.get_nodes()}
|
129
|
+
node_output_name_by_id = {
|
130
|
+
node.__output_ids__[output.name]: output.name for node in workflow.get_nodes() for output in node.Outputs
|
131
|
+
}
|
132
|
+
|
133
|
+
# We need to support the old way that the Vellum App's WorkflowRunner used to define Node Mocks in order to
|
134
|
+
# avoid needing to update the mock resolution strategy that it and the frontend uses. The path towards
|
135
|
+
# cleaning this up will go as follows:
|
136
|
+
# 1. Release Mock support in SDK-Enabled Workflows
|
137
|
+
# 2. Deprecate Mock support in non-SDK enabled Workflows, encouraging users to migrate to SDK-enabled Workflows
|
138
|
+
# 3. Remove the old mock resolution strategy
|
139
|
+
# 4. Update this SDK to handle the new mock resolution strategy with WorkflowValueDescriptors
|
140
|
+
# 5. Cutover the Vellum App to the new mock resolution strategy
|
141
|
+
# 6. Remove the old mock resolution strategy from this SDK
|
142
|
+
def _translate_raw_logical_expression(
|
143
|
+
raw_logical_expression: _RawLogicalExpression,
|
144
|
+
raw_variables: List[_RawMockWorkflowNodeExecutionValuePointer],
|
145
|
+
) -> BaseDescriptor:
|
146
|
+
if raw_logical_expression.type == "LOGICAL_CONDITION":
|
147
|
+
return _translate_raw_logical_condition(raw_logical_expression, raw_variables)
|
148
|
+
else:
|
149
|
+
return _translate_raw_logical_condition_group(raw_logical_expression, raw_variables)
|
150
|
+
|
151
|
+
def _translate_raw_logical_condition_group(
|
152
|
+
raw_logical_condition_group: _RawLogicalConditionGroup,
|
153
|
+
raw_variables: List[_RawMockWorkflowNodeExecutionValuePointer],
|
154
|
+
) -> BaseDescriptor:
|
155
|
+
if not raw_logical_condition_group.conditions:
|
156
|
+
return ConstantValueReference(True)
|
157
|
+
|
158
|
+
conditions = [
|
159
|
+
_translate_raw_logical_expression(condition, raw_variables)
|
160
|
+
for condition in raw_logical_condition_group.conditions
|
161
|
+
]
|
162
|
+
return reduce(
|
163
|
+
lambda acc, condition: (
|
164
|
+
acc and condition if raw_logical_condition_group.combinator == "AND" else acc or condition
|
165
|
+
),
|
166
|
+
conditions,
|
167
|
+
)
|
168
|
+
|
169
|
+
def _translate_raw_logical_condition(
|
170
|
+
raw_logical_condition: _RawLogicalCondition,
|
171
|
+
raw_variables: List[_RawMockWorkflowNodeExecutionValuePointer],
|
172
|
+
) -> BaseDescriptor:
|
173
|
+
variable_by_id = {v.id: v for v in raw_variables}
|
174
|
+
lhs = _translate_raw_logical_expression_variable(variable_by_id[raw_logical_condition.lhs_variable_id])
|
175
|
+
rhs = _translate_raw_logical_expression_variable(variable_by_id[raw_logical_condition.rhs_variable_id])
|
176
|
+
if raw_logical_condition.operator == ">":
|
177
|
+
return lhs.greater_than(rhs)
|
178
|
+
elif raw_logical_condition.operator == ">=":
|
179
|
+
return lhs.greater_than_or_equal_to(rhs)
|
180
|
+
elif raw_logical_condition.operator == "<":
|
181
|
+
return lhs.less_than(rhs)
|
182
|
+
elif raw_logical_condition.operator == "<=":
|
183
|
+
return lhs.less_than_or_equal_to(rhs)
|
184
|
+
elif raw_logical_condition.operator == "==":
|
185
|
+
return lhs.equals(rhs)
|
186
|
+
elif raw_logical_condition.operator == "!=":
|
187
|
+
return lhs.does_not_equal(rhs)
|
188
|
+
else:
|
189
|
+
raise WorkflowInitializationException(f"Unsupported logical operator: {raw_logical_condition.operator}")
|
190
|
+
|
191
|
+
def _translate_raw_logical_expression_variable(
|
192
|
+
raw_variable: _RawMockWorkflowNodeExecutionValuePointer,
|
193
|
+
) -> BaseDescriptor:
|
194
|
+
if raw_variable.type == "CONSTANT_VALUE":
|
195
|
+
return ConstantValueReference(raw_variable.variable_value.value)
|
196
|
+
elif raw_variable.type == "EXECUTION_COUNTER":
|
197
|
+
node = nodes[raw_variable.node_id]
|
198
|
+
return node.Execution.count
|
199
|
+
else:
|
200
|
+
raise WorkflowInitializationException(f"Unsupported logical expression type: {raw_variable.type}")
|
201
|
+
|
202
|
+
mock_node_executions = []
|
203
|
+
for mock_workflow_node_config in mock_workflow_node_configs:
|
204
|
+
for mock_execution in mock_workflow_node_config.mock_executions:
|
205
|
+
try:
|
206
|
+
when_condition = _translate_raw_logical_expression(
|
207
|
+
mock_execution.when_condition.expression,
|
208
|
+
mock_execution.when_condition.variables,
|
209
|
+
)
|
210
|
+
|
211
|
+
then_outputs = nodes[mock_workflow_node_config.node_id].Outputs()
|
212
|
+
for then_output in mock_execution.then_outputs:
|
213
|
+
node_output_name = node_output_name_by_id.get(then_output.output_id)
|
214
|
+
if node_output_name is None:
|
215
|
+
raise WorkflowInitializationException(
|
216
|
+
f"Output {then_output.output_id} not found in node {mock_workflow_node_config.node_id}"
|
217
|
+
)
|
218
|
+
|
219
|
+
resolved_output_reference = _translate_raw_logical_expression_variable(then_output.value)
|
220
|
+
if isinstance(resolved_output_reference, ConstantValueReference):
|
221
|
+
setattr(
|
222
|
+
then_outputs,
|
223
|
+
node_output_name,
|
224
|
+
resolved_output_reference._value,
|
225
|
+
)
|
226
|
+
else:
|
227
|
+
raise WorkflowInitializationException(
|
228
|
+
f"Unsupported resolved output reference type: {type(resolved_output_reference)}"
|
229
|
+
)
|
230
|
+
|
231
|
+
mock_node_executions.append(
|
232
|
+
MockNodeExecution(
|
233
|
+
when_condition=when_condition,
|
234
|
+
then_outputs=then_outputs,
|
235
|
+
)
|
236
|
+
)
|
237
|
+
except Exception as e:
|
238
|
+
logger.exception("Failed to validate mock node execution", exc_info=e)
|
239
|
+
continue
|
240
|
+
|
241
|
+
return mock_node_executions
|
242
|
+
|
16
243
|
|
17
244
|
MockNodeExecutionArg = Sequence[Union[BaseOutputs, MockNodeExecution]]
|
File without changes
|
@@ -0,0 +1,207 @@
|
|
1
|
+
import uuid
|
2
|
+
|
3
|
+
from vellum.client.types.string_vellum_value import StringVellumValue
|
4
|
+
from vellum.workflows import BaseWorkflow
|
5
|
+
from vellum.workflows.nodes import InlinePromptNode
|
6
|
+
from vellum.workflows.nodes.bases.base import BaseNode
|
7
|
+
from vellum.workflows.nodes.mocks import MockNodeExecution
|
8
|
+
from vellum_ee.workflows.display.nodes.base_node_display import BaseNodeDisplay
|
9
|
+
from vellum_ee.workflows.display.nodes.types import NodeOutputDisplay
|
10
|
+
|
11
|
+
|
12
|
+
def test_mocks__parse_from_app():
|
13
|
+
# GIVEN a PromptNode
|
14
|
+
class PromptNode(InlinePromptNode):
|
15
|
+
pass
|
16
|
+
|
17
|
+
# AND a workflow class with that PromptNode
|
18
|
+
class MyWorkflow(BaseWorkflow):
|
19
|
+
graph = PromptNode
|
20
|
+
|
21
|
+
# AND a mock workflow node execution from the app
|
22
|
+
raw_mock_workflow_node_execution = [
|
23
|
+
{
|
24
|
+
"type": "WORKFLOW_NODE_OUTPUT",
|
25
|
+
"node_id": str(PromptNode.__id__),
|
26
|
+
"mock_executions": [
|
27
|
+
{
|
28
|
+
"when_condition": {
|
29
|
+
"expression": {
|
30
|
+
"type": "LOGICAL_CONDITION_GROUP",
|
31
|
+
"combinator": "AND",
|
32
|
+
"negated": False,
|
33
|
+
"conditions": [
|
34
|
+
{
|
35
|
+
"type": "LOGICAL_CONDITION",
|
36
|
+
"lhs_variable_id": "e60902d5-6892-4916-80c1-f0130af52322",
|
37
|
+
"operator": ">=",
|
38
|
+
"rhs_variable_id": "5c1bbb24-c288-49cb-a9b7-0c6f38a86037",
|
39
|
+
}
|
40
|
+
],
|
41
|
+
},
|
42
|
+
"variables": [
|
43
|
+
{
|
44
|
+
"type": "EXECUTION_COUNTER",
|
45
|
+
"node_id": str(PromptNode.__id__),
|
46
|
+
"id": "e60902d5-6892-4916-80c1-f0130af52322",
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"type": "CONSTANT_VALUE",
|
50
|
+
"variable_value": {"type": "NUMBER", "value": 0},
|
51
|
+
"id": "5c1bbb24-c288-49cb-a9b7-0c6f38a86037",
|
52
|
+
},
|
53
|
+
],
|
54
|
+
},
|
55
|
+
"then_outputs": [
|
56
|
+
{
|
57
|
+
"output_id": "9e6dc5d3-8ea0-4346-8a2a-7cce5495755b",
|
58
|
+
"value": {
|
59
|
+
"id": "27006b2a-fa81-430c-a0b2-c66a9351fc68",
|
60
|
+
"type": "CONSTANT_VALUE",
|
61
|
+
"variable_value": {"type": "STRING", "value": "Hello"},
|
62
|
+
},
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"output_id": "60305ffd-60b0-42aa-b54e-4fdae0f8c28a",
|
66
|
+
"value": {
|
67
|
+
"id": "4559c778-6e27-4cfe-a460-734ba62a5082",
|
68
|
+
"type": "CONSTANT_VALUE",
|
69
|
+
"variable_value": {"type": "ARRAY", "value": [{"type": "STRING", "value": "Hello"}]},
|
70
|
+
},
|
71
|
+
},
|
72
|
+
],
|
73
|
+
}
|
74
|
+
],
|
75
|
+
}
|
76
|
+
]
|
77
|
+
|
78
|
+
# WHEN we parse the mock workflow node execution
|
79
|
+
node_output_mocks = MockNodeExecution.validate_all(
|
80
|
+
raw_mock_workflow_node_execution,
|
81
|
+
MyWorkflow,
|
82
|
+
)
|
83
|
+
|
84
|
+
# THEN we get a list of MockNodeExecution objects
|
85
|
+
assert node_output_mocks
|
86
|
+
assert len(node_output_mocks) == 1
|
87
|
+
assert node_output_mocks[0] == MockNodeExecution(
|
88
|
+
when_condition=PromptNode.Execution.count.greater_than_or_equal_to(0.0),
|
89
|
+
then_outputs=PromptNode.Outputs(
|
90
|
+
text="Hello",
|
91
|
+
results=[
|
92
|
+
StringVellumValue(value="Hello"),
|
93
|
+
],
|
94
|
+
),
|
95
|
+
)
|
96
|
+
|
97
|
+
|
98
|
+
def test_mocks__parse_none_still_runs():
|
99
|
+
# GIVEN a Base Node
|
100
|
+
class StartNode(BaseNode):
|
101
|
+
class Outputs(BaseNode.Outputs):
|
102
|
+
foo: str
|
103
|
+
|
104
|
+
# AND a workflow class with that Node
|
105
|
+
class MyWorkflow(BaseWorkflow):
|
106
|
+
graph = StartNode
|
107
|
+
|
108
|
+
class Outputs(BaseWorkflow.Outputs):
|
109
|
+
final_value = StartNode.Outputs.foo
|
110
|
+
|
111
|
+
# AND we parsed `None` on `MockNodeExecution`
|
112
|
+
node_output_mocks = MockNodeExecution.validate_all(
|
113
|
+
None,
|
114
|
+
MyWorkflow,
|
115
|
+
)
|
116
|
+
|
117
|
+
# WHEN we run the workflow
|
118
|
+
workflow = MyWorkflow()
|
119
|
+
final_event = workflow.run(node_output_mocks=node_output_mocks)
|
120
|
+
|
121
|
+
# THEN it was successful
|
122
|
+
assert final_event.name == "workflow.execution.fulfilled"
|
123
|
+
|
124
|
+
|
125
|
+
def test_mocks__use_id_from_display():
|
126
|
+
# GIVEN a Base Node
|
127
|
+
class StartNode(BaseNode):
|
128
|
+
class Outputs(BaseNode.Outputs):
|
129
|
+
foo: str
|
130
|
+
|
131
|
+
# AND a workflow class with that Node
|
132
|
+
class MyWorkflow(BaseWorkflow):
|
133
|
+
graph = StartNode
|
134
|
+
|
135
|
+
class Outputs(BaseWorkflow.Outputs):
|
136
|
+
final_value = StartNode.Outputs.foo
|
137
|
+
|
138
|
+
# AND a display class on that Base Node
|
139
|
+
node_output_id = uuid.uuid4()
|
140
|
+
|
141
|
+
class StartNodeDisplay(BaseNodeDisplay[StartNode]):
|
142
|
+
output_display = {StartNode.Outputs.foo: NodeOutputDisplay(id=node_output_id, name="foo")}
|
143
|
+
|
144
|
+
# AND a mock workflow node execution from the app
|
145
|
+
raw_mock_workflow_node_execution = [
|
146
|
+
{
|
147
|
+
"type": "WORKFLOW_NODE_OUTPUT",
|
148
|
+
"node_id": str(StartNode.__id__),
|
149
|
+
"mock_executions": [
|
150
|
+
{
|
151
|
+
"when_condition": {
|
152
|
+
"expression": {
|
153
|
+
"type": "LOGICAL_CONDITION_GROUP",
|
154
|
+
"combinator": "AND",
|
155
|
+
"negated": False,
|
156
|
+
"conditions": [
|
157
|
+
{
|
158
|
+
"type": "LOGICAL_CONDITION",
|
159
|
+
"lhs_variable_id": "e60902d5-6892-4916-80c1-f0130af52322",
|
160
|
+
"operator": ">=",
|
161
|
+
"rhs_variable_id": "5c1bbb24-c288-49cb-a9b7-0c6f38a86037",
|
162
|
+
}
|
163
|
+
],
|
164
|
+
},
|
165
|
+
"variables": [
|
166
|
+
{
|
167
|
+
"type": "EXECUTION_COUNTER",
|
168
|
+
"node_id": str(StartNode.__id__),
|
169
|
+
"id": "e60902d5-6892-4916-80c1-f0130af52322",
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"type": "CONSTANT_VALUE",
|
173
|
+
"variable_value": {"type": "NUMBER", "value": 0},
|
174
|
+
"id": "5c1bbb24-c288-49cb-a9b7-0c6f38a86037",
|
175
|
+
},
|
176
|
+
],
|
177
|
+
},
|
178
|
+
"then_outputs": [
|
179
|
+
{
|
180
|
+
"output_id": str(node_output_id),
|
181
|
+
"value": {
|
182
|
+
"id": "27006b2a-fa81-430c-a0b2-c66a9351fc68",
|
183
|
+
"type": "CONSTANT_VALUE",
|
184
|
+
"variable_value": {"type": "STRING", "value": "Hello"},
|
185
|
+
},
|
186
|
+
},
|
187
|
+
],
|
188
|
+
}
|
189
|
+
],
|
190
|
+
}
|
191
|
+
]
|
192
|
+
|
193
|
+
# WHEN we parsed the raw data on `MockNodeExecution`
|
194
|
+
node_output_mocks = MockNodeExecution.validate_all(
|
195
|
+
raw_mock_workflow_node_execution,
|
196
|
+
MyWorkflow,
|
197
|
+
)
|
198
|
+
|
199
|
+
# THEN we get the expected list of MockNodeExecution objects
|
200
|
+
assert node_output_mocks
|
201
|
+
assert len(node_output_mocks) == 1
|
202
|
+
assert node_output_mocks[0] == MockNodeExecution(
|
203
|
+
when_condition=StartNode.Execution.count.greater_than_or_equal_to(0.0),
|
204
|
+
then_outputs=StartNode.Outputs(
|
205
|
+
foo="Hello",
|
206
|
+
),
|
207
|
+
)
|
vellum/workflows/outputs/base.py
CHANGED
@@ -201,7 +201,7 @@ class BaseOutputs(metaclass=_BaseOutputsMeta):
|
|
201
201
|
self._outputs_post_init(**kwargs)
|
202
202
|
|
203
203
|
def __eq__(self, other: object) -> bool:
|
204
|
-
if not isinstance(other, dict):
|
204
|
+
if not isinstance(other, (dict, BaseOutputs)):
|
205
205
|
return super().__eq__(other)
|
206
206
|
|
207
207
|
outputs = {ref.name: value for ref, value in self if value is not undefined}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: vellum-ai
|
3
|
-
Version: 0.14.
|
3
|
+
Version: 0.14.13
|
4
4
|
Summary:
|
5
5
|
License: MIT
|
6
6
|
Requires-Python: >=3.9,<4.0
|
@@ -32,7 +32,7 @@ Requires-Dist: pydantic (>=1.9.2)
|
|
32
32
|
Requires-Dist: pydantic-core (>=2.18.2,<3.0.0)
|
33
33
|
Requires-Dist: pydash (==7.0.6)
|
34
34
|
Requires-Dist: python-dotenv (==1.0.1)
|
35
|
-
Requires-Dist: pytz (==
|
35
|
+
Requires-Dist: pytz (==2025.1)
|
36
36
|
Requires-Dist: pyyaml (==6.0.1)
|
37
37
|
Requires-Dist: requests (==2.32.3)
|
38
38
|
Requires-Dist: tomli (==2.0.2)
|
@@ -23,9 +23,9 @@ vellum_ee/workflows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
23
23
|
vellum_ee/workflows/display/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
24
24
|
vellum_ee/workflows/display/base.py,sha256=ak29FIsawhaFa9_paZUHThlZRFJ1xB486JWKuSt1PYY,1965
|
25
25
|
vellum_ee/workflows/display/nodes/__init__.py,sha256=436iSAh_Ex5tC68oEYvNgPu05ZVIAVXnS4PKGrQeZ0Y,321
|
26
|
-
vellum_ee/workflows/display/nodes/base_node_display.py,sha256=
|
26
|
+
vellum_ee/workflows/display/nodes/base_node_display.py,sha256=p6orKsqEo8u6PWDbpp60D_E4UtjWNzWI8aVe8aknpyc,17097
|
27
27
|
vellum_ee/workflows/display/nodes/base_node_vellum_display.py,sha256=pLO0dORfRu--Ne9NgoyFT_CNjfpr5fGCsgbsMkUF5GM,2845
|
28
|
-
vellum_ee/workflows/display/nodes/get_node_display_class.py,sha256=
|
28
|
+
vellum_ee/workflows/display/nodes/get_node_display_class.py,sha256=67J_TGFNoISq8wZqOBCu5BNMY4kpQBq3Lt65FPH3Gt0,1594
|
29
29
|
vellum_ee/workflows/display/nodes/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
30
30
|
vellum_ee/workflows/display/nodes/tests/test_base_node_display.py,sha256=QqR3Ly0RNrXwOeLdW5nERDFt0gRPf76n1bPES6o5UN4,1093
|
31
31
|
vellum_ee/workflows/display/nodes/types.py,sha256=St1BB6no528OyELGiyRabWao0GGw6mLhstQAvEACbGk,247
|
@@ -61,7 +61,7 @@ vellum_ee/workflows/display/tests/test_vellum_workflow_display.py,sha256=cdpUoDN
|
|
61
61
|
vellum_ee/workflows/display/tests/workflow_serialization/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
62
62
|
vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
63
63
|
vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/conftest.py,sha256=A1-tIpC5KIKG9JA_rkd1nLS8zUG3Kb4QiVdvb3boFxE,2509
|
64
|
-
vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_adornments_serialization.py,sha256=
|
64
|
+
vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_adornments_serialization.py,sha256=mFmxXfnUPrwndaBurW9E-VSBUQjF3cGv3JpRuNmwWh8,15475
|
65
65
|
vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_attributes_serialization.py,sha256=1cszL6N6FNGVm61MOa7AEiHnF0QjZWqDQuPOp4yiG94,18277
|
66
66
|
vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_outputs_serialization.py,sha256=-12ZkZb3f5gyoNASV2yeQtMo5HmNsVEo8nXwL6IC-I8,6261
|
67
67
|
vellum_ee/workflows/display/tests/workflow_serialization/generic_nodes/test_ports_serialization.py,sha256=6th6kCwzql6lddjkTQx4Jbvvs4ChqtJwctW-B4QuBhI,37352
|
@@ -90,9 +90,9 @@ vellum_ee/workflows/display/utils/expressions.py,sha256=9FpOslDI-RCR5m4TgAu9KCHh
|
|
90
90
|
vellum_ee/workflows/display/utils/vellum.py,sha256=UjK_RxnSEmlIu9klGCPWU5RAQBmgZ7cRbRdgxaTbubE,8081
|
91
91
|
vellum_ee/workflows/display/vellum.py,sha256=7mqQaKZPPrLMcXSAQkPIxCy5x8HkKs5PbCu3GRaC2o8,8507
|
92
92
|
vellum_ee/workflows/display/workflows/__init__.py,sha256=kapXsC67VJcgSuiBMa86FdePG5A9kMB5Pi4Uy1O2ob4,207
|
93
|
-
vellum_ee/workflows/display/workflows/base_workflow_display.py,sha256=
|
93
|
+
vellum_ee/workflows/display/workflows/base_workflow_display.py,sha256=yDjMk2tml2TzitcFdP5M7PFXm4G_Bz6aYLYby7riXGQ,20137
|
94
94
|
vellum_ee/workflows/display/workflows/get_vellum_workflow_display_class.py,sha256=kp0u8LN_2IwshLrhMImhpZx1hRyAcD5gXY-kDuuaGMQ,1269
|
95
|
-
vellum_ee/workflows/display/workflows/tests/test_workflow_display.py,sha256=
|
95
|
+
vellum_ee/workflows/display/workflows/tests/test_workflow_display.py,sha256=JRTTM8gX182pBMP5eI_-B_X7LaK0kiSS07KqDdIfrQc,4962
|
96
96
|
vellum_ee/workflows/display/workflows/vellum_workflow_display.py,sha256=mbAzCpswOek34ITeTkesbVreCXpulj4NFjIg3RcdVZ8,18243
|
97
97
|
vellum_ee/workflows/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
98
98
|
vellum_ee/workflows/server/virtual_file_loader.py,sha256=X_DdNK7MfyOjKWekk6YQpOSCT6klKcdjT6nVJcBH1sM,1481
|
@@ -123,7 +123,7 @@ vellum/client/README.md,sha256=JkCJjmMZl4jrPj46pkmL9dpK4gSzQQmP5I7z4aME4LY,4749
|
|
123
123
|
vellum/client/__init__.py,sha256=tKtdM1_GqmGq1gpi9ydWD_T-MM7fPn8QdHh8ww19cNI,117564
|
124
124
|
vellum/client/core/__init__.py,sha256=SQ85PF84B9MuKnBwHNHWemSGuy-g_515gFYNFhvEE0I,1438
|
125
125
|
vellum/client/core/api_error.py,sha256=RE8LELok2QCjABadECTvtDp7qejA1VmINCh6TbqPwSE,426
|
126
|
-
vellum/client/core/client_wrapper.py,sha256=
|
126
|
+
vellum/client/core/client_wrapper.py,sha256=rm58d4E5Lrfg-SwnN1AtE5vFfVb1Qy6a5GyVyEmNWvU,1869
|
127
127
|
vellum/client/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
128
128
|
vellum/client/core/file.py,sha256=X9IbmkZmB2bB_DpmZAO3crWdXagOakAyn6UCOCImCPg,2322
|
129
129
|
vellum/client/core/http_client.py,sha256=R0pQpCppnEtxccGvXl4uJ76s7ro_65Fo_erlNNLp_AI,19228
|
@@ -1299,7 +1299,7 @@ vellum/workflows/__init__.py,sha256=CssPsbNvN6rDhoLuqpEv7MMKGa51vE6dvAh6U31Pcio,
|
|
1299
1299
|
vellum/workflows/constants.py,sha256=2yg4_uo5gpqViy3ZLSwfC8qTybleYCtOnhA4Rj6bacM,1310
|
1300
1300
|
vellum/workflows/context.py,sha256=DwSf8lO9NHABiqOoD3exgrjUoRuNsKtutaL5TgRbD-A,1441
|
1301
1301
|
vellum/workflows/descriptors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1302
|
-
vellum/workflows/descriptors/base.py,sha256=
|
1302
|
+
vellum/workflows/descriptors/base.py,sha256=bvF3MWsc4Xyw5Z2s1A0fbsfMCebIbPYcGvbQ9uoa_Pg,14655
|
1303
1303
|
vellum/workflows/descriptors/exceptions.py,sha256=gUy4UD9JFUKSeQnQpeuDSLiRqWjWiIsxLahB7p_q3JY,54
|
1304
1304
|
vellum/workflows/descriptors/tests/test_utils.py,sha256=xoojJMyG5WLG9xGtmUjirz3lDFCcDsAcxjrtbdG8dNE,6060
|
1305
1305
|
vellum/workflows/descriptors/utils.py,sha256=gmVXJjf2yWmvlYey41J2FZHeSou0JuCHKb3826K_Jok,3838
|
@@ -1316,7 +1316,7 @@ vellum/workflows/events/node.py,sha256=uHT6If0esgZ3nLjrjmUPTKf3qbjGhoV_x5YKpjDBD
|
|
1316
1316
|
vellum/workflows/events/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1317
1317
|
vellum/workflows/events/tests/test_event.py,sha256=uRfMwSOqU-ROeZKCEngGvvJYlOZuxBhnC3qH5AGi3fM,15399
|
1318
1318
|
vellum/workflows/events/types.py,sha256=AeTJaQt_fNHDLI4nyBzo7XrW9QQybRC09AKzu3kEYEE,3575
|
1319
|
-
vellum/workflows/events/workflow.py,sha256=
|
1319
|
+
vellum/workflows/events/workflow.py,sha256=QoSHyIOpuVacbR7POf7h104miTOhCjtO2udnYximJGs,6851
|
1320
1320
|
vellum/workflows/exceptions.py,sha256=NiBiR3ggfmPxBVqD-H1SqmjI-7mIn0EStSN1BqApvCM,1213
|
1321
1321
|
vellum/workflows/expressions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1322
1322
|
vellum/workflows/expressions/accessor.py,sha256=ItZF7fMLzVTqsdAiaXb5SiDupXmX0X9xbIus1W6hRds,1870
|
@@ -1356,13 +1356,13 @@ vellum/workflows/graph/graph.py,sha256=GGR8cGpSuNWPIiTWNWsj6l70upb5nIxAyFcn7VdaJ
|
|
1356
1356
|
vellum/workflows/graph/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1357
1357
|
vellum/workflows/graph/tests/test_graph.py,sha256=q0wxLvPPxc-6en4a_XuAZwVfLURMd9Ikvoreq4bpJ9s,11839
|
1358
1358
|
vellum/workflows/inputs/__init__.py,sha256=AbFEteIYEvCb14fM3EK7bhM-40-6s494rSlIhQ4Dsss,62
|
1359
|
-
vellum/workflows/inputs/base.py,sha256=
|
1359
|
+
vellum/workflows/inputs/base.py,sha256=eVTjtn6GielKYogQ-LPA6n4iZO3-WIfyxWpBKkN-dPs,3959
|
1360
1360
|
vellum/workflows/inputs/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1361
|
-
vellum/workflows/inputs/tests/test_inputs.py,sha256=
|
1361
|
+
vellum/workflows/inputs/tests/test_inputs.py,sha256=g--YqWTNWzMk5Ktoj__gq988kvBReefc2tsyUl6H2kg,1775
|
1362
1362
|
vellum/workflows/logging.py,sha256=_a217XogktV4Ncz6xKFz7WfYmZAzkfVRVuC0rWob8ls,437
|
1363
1363
|
vellum/workflows/nodes/__init__.py,sha256=aVdQVv7Y3Ro3JlqXGpxwaU2zrI06plDHD2aumH5WUIs,1157
|
1364
1364
|
vellum/workflows/nodes/bases/__init__.py,sha256=cniHuz_RXdJ4TQgD8CBzoiKDiPxg62ErdVpCbWICX64,58
|
1365
|
-
vellum/workflows/nodes/bases/base.py,sha256=
|
1365
|
+
vellum/workflows/nodes/bases/base.py,sha256=Y5xv0tFSSDafKDhVsxC5xTNrH15sj93jok6POzgWO0E,15351
|
1366
1366
|
vellum/workflows/nodes/bases/base_adornment_node.py,sha256=eFTgsPCYb3eyGS0-kw7C6crFnwFx437R5wh9-8bWYts,2905
|
1367
1367
|
vellum/workflows/nodes/bases/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1368
1368
|
vellum/workflows/nodes/bases/tests/test_base_node.py,sha256=4SOdZzvugVtN8CIuo5RrapAxSYGXnxUwQ77dXJ64oTU,6295
|
@@ -1370,13 +1370,13 @@ vellum/workflows/nodes/core/__init__.py,sha256=5zDMCmyt1v0HTJzlUBwq3U9L825yZGZhT
|
|
1370
1370
|
vellum/workflows/nodes/core/error_node/__init__.py,sha256=g7RRnlHhqu4qByfLjBwCunmgGA8dI5gNsjS3h6TwlSI,60
|
1371
1371
|
vellum/workflows/nodes/core/error_node/node.py,sha256=MFHU5vITYSK-L9CuMZ49In2ZeNLWnhZD0f8r5dWvb5Y,1270
|
1372
1372
|
vellum/workflows/nodes/core/inline_subworkflow_node/__init__.py,sha256=nKNEH1QTl-1PcvmYoqSWEl0-t6gAur8GLTXHzklRQfM,84
|
1373
|
-
vellum/workflows/nodes/core/inline_subworkflow_node/node.py,sha256=
|
1373
|
+
vellum/workflows/nodes/core/inline_subworkflow_node/node.py,sha256=B1ant-Pwg1AGFs5BYXynHf2i4rAen1bkr7nbLmiVwHo,6175
|
1374
1374
|
vellum/workflows/nodes/core/inline_subworkflow_node/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1375
|
-
vellum/workflows/nodes/core/inline_subworkflow_node/tests/test_node.py,sha256=
|
1375
|
+
vellum/workflows/nodes/core/inline_subworkflow_node/tests/test_node.py,sha256=6AG-oTyJaw5a1KWGQFNZaKl6_Pu_fW3nI_WA3XNRFWY,2439
|
1376
1376
|
vellum/workflows/nodes/core/map_node/__init__.py,sha256=MXpZYmGfhsMJHqqlpd64WiJRtbAtAMQz-_3fCU_cLV0,56
|
1377
|
-
vellum/workflows/nodes/core/map_node/node.py,sha256=
|
1377
|
+
vellum/workflows/nodes/core/map_node/node.py,sha256=dY27Xm11LHsqD7hnZnVYYDIazZ-XfL4_zatvWKTi6CU,9243
|
1378
1378
|
vellum/workflows/nodes/core/map_node/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1379
|
-
vellum/workflows/nodes/core/map_node/tests/test_node.py,sha256=
|
1379
|
+
vellum/workflows/nodes/core/map_node/tests/test_node.py,sha256=uMR0AyIFn539LqTKHdwuBswnx1i-PHyqPpgtYrnmYMY,3496
|
1380
1380
|
vellum/workflows/nodes/core/retry_node/__init__.py,sha256=lN2bIy5a3Uzhs_FYCrooADyYU6ZGShtvLKFWpelwPvo,60
|
1381
1381
|
vellum/workflows/nodes/core/retry_node/node.py,sha256=Vt3fx4G-DRIb9a-IHIUfaAclgfbzOPEQVkcumwhl9HE,4355
|
1382
1382
|
vellum/workflows/nodes/core/retry_node/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -1385,9 +1385,9 @@ vellum/workflows/nodes/core/templating_node/__init__.py,sha256=GmyuYo81_A1_Bz6id
|
|
1385
1385
|
vellum/workflows/nodes/core/templating_node/node.py,sha256=-JIqLUv6Xpx_LTVZt7whQ2X2VatgHDdTxjMrz64luEs,3721
|
1386
1386
|
vellum/workflows/nodes/core/templating_node/tests/test_templating_node.py,sha256=ldnmSASx0TfAnT3ZvU0AXtN0diZGrfySiXipuJIIzWU,9055
|
1387
1387
|
vellum/workflows/nodes/core/try_node/__init__.py,sha256=JVD4DrldTIqFQQFrubs9KtWCCc0YCAc7Fzol5ZWIWeM,56
|
1388
|
-
vellum/workflows/nodes/core/try_node/node.py,sha256=
|
1388
|
+
vellum/workflows/nodes/core/try_node/node.py,sha256=5ux1l2HO12FBFFyhz6j-4yfBYVrqgT2maTAne_GnNDk,4434
|
1389
1389
|
vellum/workflows/nodes/core/try_node/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1390
|
-
vellum/workflows/nodes/core/try_node/tests/test_node.py,sha256=
|
1390
|
+
vellum/workflows/nodes/core/try_node/tests/test_node.py,sha256=h6eUc3SggvhzBWlOD0PrPUlkoCSQHwjqYn81VkxSIxU,4948
|
1391
1391
|
vellum/workflows/nodes/displayable/__init__.py,sha256=6F_4DlSwvHuilWnIalp8iDjjDXl0Nmz4QzJV2PYe5RI,1023
|
1392
1392
|
vellum/workflows/nodes/displayable/api_node/__init__.py,sha256=MoxdQSnidIj1Nf_d-hTxlOxcZXaZnsWFDbE-PkTK24o,56
|
1393
1393
|
vellum/workflows/nodes/displayable/api_node/node.py,sha256=QdpsyGVxo5PcN8nwGZpcpW_YMKHr3_VvmbK1BlrdOFk,2547
|
@@ -1439,9 +1439,9 @@ vellum/workflows/nodes/displayable/search_node/node.py,sha256=_VHHuTNN4icZBgc7O5
|
|
1439
1439
|
vellum/workflows/nodes/displayable/search_node/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1440
1440
|
vellum/workflows/nodes/displayable/search_node/tests/test_node.py,sha256=2-QCV7Vk_-YMls33p0GOUtCv3f2uPNZCjkB2CRjek7o,6562
|
1441
1441
|
vellum/workflows/nodes/displayable/subworkflow_deployment_node/__init__.py,sha256=9yYM6001YZeqI1VOk1QuEM_yrffk_EdsO7qaPzINKds,92
|
1442
|
-
vellum/workflows/nodes/displayable/subworkflow_deployment_node/node.py,sha256=
|
1442
|
+
vellum/workflows/nodes/displayable/subworkflow_deployment_node/node.py,sha256=DGjvfusXCH5F98oPT3S6Xn0yedLuCq6EXb2DTzu2oDM,9661
|
1443
1443
|
vellum/workflows/nodes/displayable/subworkflow_deployment_node/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1444
|
-
vellum/workflows/nodes/displayable/subworkflow_deployment_node/tests/test_node.py,sha256=
|
1444
|
+
vellum/workflows/nodes/displayable/subworkflow_deployment_node/tests/test_node.py,sha256=7Yt8rmN7xoZ91BrcA1pDGwG_t0NYtym4ORXrAIIX-P0,15861
|
1445
1445
|
vellum/workflows/nodes/displayable/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1446
1446
|
vellum/workflows/nodes/displayable/tests/test_inline_text_prompt_node.py,sha256=LaxohBcKfSW2PSiBBlx67FdW_q4YC2BM2ouH-vuGPAA,4700
|
1447
1447
|
vellum/workflows/nodes/displayable/tests/test_search_node_wth_text_output.py,sha256=VepO5z1277c1y5N6LLIC31nnWD1aak2m5oPFplfJHHs,6935
|
@@ -1450,10 +1450,12 @@ vellum/workflows/nodes/experimental/README.md,sha256=eF6DfIL8t-HbF9-mcofOMymKrra
|
|
1450
1450
|
vellum/workflows/nodes/experimental/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1451
1451
|
vellum/workflows/nodes/experimental/openai_chat_completion_node/__init__.py,sha256=lsyD9laR9p7kx5-BXGH2gUTM242UhKy8SMV0SR6S2iE,90
|
1452
1452
|
vellum/workflows/nodes/experimental/openai_chat_completion_node/node.py,sha256=1EGeiaT-Zoo6pttQFKKBcdf3dmhAbjKGaErYD5FFwlc,10185
|
1453
|
-
vellum/workflows/nodes/mocks.py,sha256=
|
1453
|
+
vellum/workflows/nodes/mocks.py,sha256=a1FjWEIocseMfjzM-i8DNozpUsaW0IONRpZmXBoWlyc,10455
|
1454
|
+
vellum/workflows/nodes/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1455
|
+
vellum/workflows/nodes/tests/test_mocks.py,sha256=mfPvrs75PKcsNsbJLQAN6PDFoVqs9TmQxpdyFKDdO60,7837
|
1454
1456
|
vellum/workflows/nodes/utils.py,sha256=uaTPGYp4utenz_QDghqQ23Q1iCsGHQ40nNZh1g9H9WI,7117
|
1455
1457
|
vellum/workflows/outputs/__init__.py,sha256=AyZ4pRh_ACQIGvkf0byJO46EDnSix1ZCAXfvh-ms1QE,94
|
1456
|
-
vellum/workflows/outputs/base.py,sha256=
|
1458
|
+
vellum/workflows/outputs/base.py,sha256=b4Dnha1miKu3uFJYptKKflIHNuajPF2BNKy0BTt8Tjc,8622
|
1457
1459
|
vellum/workflows/ports/__init__.py,sha256=bZuMt-R7z5bKwpu4uPW7LlJeePOQWmCcDSXe5frUY5g,101
|
1458
1460
|
vellum/workflows/ports/node_ports.py,sha256=g4A-8iUAvEJSkaWppbvzAR8XU02R9U-qLN4rP2Kq4Aw,2743
|
1459
1461
|
vellum/workflows/ports/port.py,sha256=eI2SOZPZ5rsC3jMsxW6Rbn0NpaYQsrR7AapiIbbiy8Q,3635
|
@@ -1509,8 +1511,8 @@ vellum/workflows/workflows/event_filters.py,sha256=GSxIgwrX26a1Smfd-6yss2abGCnad
|
|
1509
1511
|
vellum/workflows/workflows/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
1510
1512
|
vellum/workflows/workflows/tests/test_base_workflow.py,sha256=NRteiICyJvDM5zrtUfq2fZoXcGQVaWC9xmNlLLVW0cU,7979
|
1511
1513
|
vellum/workflows/workflows/tests/test_context.py,sha256=VJBUcyWVtMa_lE5KxdhgMu0WYNYnUQUDvTF7qm89hJ0,2333
|
1512
|
-
vellum_ai-0.14.
|
1513
|
-
vellum_ai-0.14.
|
1514
|
-
vellum_ai-0.14.
|
1515
|
-
vellum_ai-0.14.
|
1516
|
-
vellum_ai-0.14.
|
1514
|
+
vellum_ai-0.14.13.dist-info/LICENSE,sha256=hOypcdt481qGNISA784bnAGWAE6tyIf9gc2E78mYC3E,1574
|
1515
|
+
vellum_ai-0.14.13.dist-info/METADATA,sha256=y44fYKH3DaYDbx8hhtZFAtWbGESUBWDUV-2W_JL-XiI,5408
|
1516
|
+
vellum_ai-0.14.13.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
1517
|
+
vellum_ai-0.14.13.dist-info/entry_points.txt,sha256=HCH4yc_V3J_nDv3qJzZ_nYS8llCHZViCDP1ejgCc5Ak,42
|
1518
|
+
vellum_ai-0.14.13.dist-info/RECORD,,
|