Skip to content

Commit d23edd1

Browse files
committed
small tweaks to flows
1 parent 85d51e7 commit d23edd1

File tree

2 files changed

+64
-66
lines changed

2 files changed

+64
-66
lines changed

examples-test-flows/openai-fetch-completion-as-stream.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"id": "d186a002-218b-47dc-aae8-07522a3da6ed",
4747
"x": 4086.2794839807348,
4848
"y": 1055.5511660082343,
49-
"width": 119.99967430518362,
50-
"height": 272.0000282539267,
49+
"width": 119.99986652031868,
50+
"height": 272.00006594174204,
5151
"nodeType": "Shape",
5252
"nodeInfo": {
5353
"type": "show-input",
@@ -63,8 +63,8 @@
6363
"id": "383eb9cf-3b45-489e-8281-720b702b9159",
6464
"x": 3302.6185234344857,
6565
"y": 529.4952359949934,
66-
"width": 239.99994717902953,
67-
"height": 95.99996378926551,
66+
"width": 239.99998428769624,
67+
"height": 95.99999371507849,
6868
"nodeType": "Shape",
6969
"nodeInfo": {
7070
"type": "scope-variable",
@@ -82,8 +82,8 @@
8282
},
8383
{
8484
"id": "4ffd9779-4d78-4122-9619-ee6dcf7ee81d",
85-
"x": 5438.958340008058,
86-
"y": 1063.8909510153799,
85+
"x": 5421.5451389834425,
86+
"y": 1038.4911316966602,
8787
"width": 280,
8888
"height": 40,
8989
"nodeType": "Shape",
@@ -100,10 +100,10 @@
100100
},
101101
{
102102
"id": "24b43a64-3ba7-4c90-af25-de0da725600b",
103-
"x": 4896.59899819287,
104-
"y": 1062.3441942393213,
105-
"width": 200,
106-
"height": 100,
103+
"x": 4897.219778315022,
104+
"y": 979.9859832142814,
105+
"width": 264.034945185178,
106+
"height": 118.05762912375599,
107107
"nodeType": "Shape",
108108
"nodeInfo": {
109109
"type": "expression",
@@ -129,8 +129,8 @@
129129
},
130130
{
131131
"id": "62d6f81d-08f3-4379-8c9f-f41f3452ea52",
132-
"x": 4625.62260857533,
133-
"y": 1063.1032901616265,
132+
"x": 4625.622731449648,
133+
"y": 1063.1032555200543,
134134
"width": 150,
135135
"height": 150,
136136
"nodeType": "Shape",
@@ -213,7 +213,7 @@
213213
},
214214
{
215215
"id": "9c9efadf-8473-439f-849b-1fa8cbc09ad5",
216-
"x": 4206.279158285918,
216+
"x": 4206.279350501053,
217217
"y": 1085.5511660082343,
218218
"endX": 4363.497084971121,
219219
"endY": 1116.016367383506,
@@ -228,10 +228,10 @@
228228
},
229229
{
230230
"id": "782908ad-a7fc-4086-b2d0-8491bb9bafa9",
231-
"x": 5096.59899819287,
232-
"y": 1112.3441942393213,
233-
"endX": 5438.958340008058,
234-
"endY": 1083.8909510153799,
231+
"x": 5161.2547235002,
232+
"y": 1039.0147977761594,
233+
"endX": 5421.5451389834425,
234+
"endY": 1058.4911316966602,
235235
"startNodeId": "24b43a64-3ba7-4c90-af25-de0da725600b",
236236
"endNodeId": "4ffd9779-4d78-4122-9619-ee6dcf7ee81d",
237237
"startThumbName": "output",
@@ -245,8 +245,8 @@
245245
"id": "441e2ae8-bb43-4d98-b5c2-73b5d33f1884",
246246
"x": 4473.497084971121,
247247
"y": 1141.016367383506,
248-
"endX": 4625.62260857533,
249-
"endY": 1138.1032901616265,
248+
"endX": 4625.622731449648,
249+
"endY": 1138.1032555200543,
250250
"startNodeId": "bfc480ee-0c81-4221-a725-252298402221",
251251
"endNodeId": "62d6f81d-08f3-4379-8c9f-f41f3452ea52",
252252
"startThumbName": "output2",
@@ -258,10 +258,10 @@
258258
},
259259
{
260260
"id": "3766e220-8955-4981-9ea5-94bd56926cc1",
261-
"x": 4700.62260857533,
262-
"y": 1063.1032901616265,
263-
"endX": 4896.59899819287,
264-
"endY": 1112.3441942393213,
261+
"x": 4700.622731449648,
262+
"y": 1063.1032555200543,
263+
"endX": 4897.219778315022,
264+
"endY": 1039.0147977761594,
265265
"startNodeId": "62d6f81d-08f3-4379-8c9f-f41f3452ea52",
266266
"endNodeId": "24b43a64-3ba7-4c90-af25-de0da725600b",
267267
"startThumbName": "success",

examples-test-flows/openai-fetch-completion.json

Lines changed: 41 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,42 @@
4646
"id": "d186a002-218b-47dc-aae8-07522a3da6ed",
4747
"x": 3668.6864745164658,
4848
"y": 1054.341333554232,
49-
"width": 120.00010395318927,
50-
"height": 272.00006389134717,
49+
"width": 120.00004488310887,
50+
"height": 272.00004349886393,
51+
"nodeType": "Shape",
52+
"nodeInfo": {
53+
"type": "show-input",
54+
"formValues": {
55+
"name": "",
56+
"data-type": "default"
57+
},
58+
"initializeOnStartFlow": true,
59+
"isSettingsPopup": true
60+
}
61+
},
62+
{
63+
"id": "5faa0fef-08cc-49a7-8b4e-530579b70962",
64+
"x": 3910.0820022043868,
65+
"y": 1034.3335817955815,
66+
"width": 273.6850774416289,
67+
"height": 110.34274607488737,
68+
"nodeType": "Shape",
69+
"nodeInfo": {
70+
"type": "expression",
71+
"formValues": {
72+
"expression": "choices[0].message.content",
73+
"inputType": "number"
74+
},
75+
"showFormOnlyInPopup": true,
76+
"isSettingsPopup": true
77+
}
78+
},
79+
{
80+
"id": "bf4b234a-b696-47dc-bada-133dfcd335c1",
81+
"x": 4275.575720000675,
82+
"y": 1058.1422046710302,
83+
"width": 120.00004488310887,
84+
"height": 56.00000302662531,
5185
"nodeType": "Shape",
5286
"nodeInfo": {
5387
"type": "show-input",
@@ -91,10 +125,10 @@
91125
},
92126
{
93127
"id": "e6c0d059-e227-4e57-be26-70e786b86d14",
94-
"x": 3788.686578469655,
128+
"x": 3788.6865193995745,
95129
"y": 1084.341333554232,
96-
"endX": 3910.770036861805,
97-
"endY": 1084.3336375828528,
130+
"endX": 3910.0820022043868,
131+
"endY": 1089.5049548330253,
98132
"startNodeId": "d186a002-218b-47dc-aae8-07522a3da6ed",
99133
"endNodeId": "5faa0fef-08cc-49a7-8b4e-530579b70962",
100134
"startThumbName": "output",
@@ -104,28 +138,10 @@
104138
"layer": 1,
105139
"nodeInfo": {}
106140
},
107-
{
108-
"id": "5faa0fef-08cc-49a7-8b4e-530579b70962",
109-
"x": 3910.770036861805,
110-
"y": 1034.3336375828528,
111-
"width": 200,
112-
"height": 100,
113-
"nodeType": "Shape",
114-
"nodeInfo": {
115-
"type": "expression",
116-
"formValues": {
117-
"expression": "choices[0].message.content",
118-
"inputType": "number"
119-
},
120-
"showFormOnlyInPopup": true,
121-
"isSettingsPopup": true,
122-
"taskType": "expression"
123-
}
124-
},
125141
{
126142
"id": "8ea45baa-be8f-4cc8-ac51-e2e6f55b372b",
127-
"x": 4110.770036861804,
128-
"y": 1084.3336375828528,
143+
"x": 4183.767079646015,
144+
"y": 1089.5049548330253,
129145
"endX": 4275.575720000675,
130146
"endY": 1088.1422046710302,
131147
"startNodeId": "5faa0fef-08cc-49a7-8b4e-530579b70962",
@@ -136,24 +152,6 @@
136152
"nodeType": "Connection",
137153
"layer": 1,
138154
"nodeInfo": {}
139-
},
140-
{
141-
"id": "bf4b234a-b696-47dc-bada-133dfcd335c1",
142-
"x": 4275.575720000675,
143-
"y": 1058.1422046710302,
144-
"width": 120.00010395318927,
145-
"height": 271.9999608498181,
146-
"nodeType": "Shape",
147-
"nodeInfo": {
148-
"type": "show-input",
149-
"formValues": {
150-
"name": "",
151-
"data-type": "default"
152-
},
153-
"initializeOnStartFlow": true,
154-
"isSettingsPopup": true,
155-
"taskType": "show-input"
156-
}
157155
}
158156
]
159157
}

0 commit comments

Comments
 (0)