3112 Commits

Author SHA1 Message Date
Waleed Latif
d99bd1e0a9 Add more thorough check for JSON in providers/ 2025-02-13 18:14:58 -08:00
Waleed Latif
071e370de8 Revert utils.ts back so evalator doesn't have JSON issue 2025-02-13 18:05:35 -08:00
Emir Karabeg
5dc45509c1 Added memory block 2025-02-13 17:59:03 -08:00
Emir Karabeg
d1c71e9276 Adjusted min zoom 2025-02-13 17:04:58 -08:00
Waleed Latif
92838c8b0b Allow conditional block to have multiple outputs going to the same destination block 2025-02-13 16:55:55 -08:00
Emir Karabeg
32a1cd71c3 Improvement: expanded min zoom 2025-02-13 16:54:44 -08:00
Waleed Latif
b79f5a49a3 Resolved failed to evaluate condition error by adding util to wrap strings before evaluating them 2025-02-13 16:33:28 -08:00
Emir Karabeg
79b55a0825 Fix: tag dropdown on no filtered tag avail 2025-02-13 16:15:16 -08:00
Emir Karabeg
ffd1373a37 Fix: key error on multiple connect 2025-02-13 15:21:01 -08:00
Waleed Latif
487248a858 Reiterate in evaluator prompt to only resond with JSOn 2025-02-13 15:03:12 -08:00
Emir Karabeg
08cd1d6ae9 Fix: edge connection logic (self-connect and duplicate connections) 2025-02-13 14:46:02 -08:00
Emir Karabeg
9ad71b88b5 Fix: conditional input handle error on delete 2025-02-13 13:59:51 -08:00
Emir Karabeg
e0736870ab Improvement: input styling on evaluator and placeholder 2025-02-13 13:52:08 -08:00
Waleed Latif
03d1d7247d Revert temp fix to executor, didn't work 2025-02-13 13:42:05 -08:00
Waleed Latif
26e7b1c17e Try temp fix to out of order execution 2025-02-13 13:38:09 -08:00
Emir Karabeg
f7dbbf1c3e Fix: eval-input input ref and styling 2025-02-13 13:35:00 -08:00
Waleed Latif
8fd25fd813 Add arbitrary 5s wait after condition block to diagnose the out-of-order execution in production 2025-02-13 13:16:59 -08:00
Waleed Latif
a1f7407eef Add arbitrary 1s wait after condition block to diagnose the out-of-order execution in production 2025-02-13 13:13:52 -08:00
Waleed Latif
4291d79fc9 Fix bug in executor that always assumed target block for conditional in loop was an agent block 2025-02-13 12:55:16 -08:00
Waleed Latif
f74aa815f3 Cleanup extra, unnecessary logs 2025-02-13 02:28:56 -08:00
Waleed Latif
fce8393560 Updated executor to account for new evaluator logic and to count backward edges in loops in inDegree calculation 2025-02-13 02:19:51 -08:00
Waleed Latif
281e85040d Updated executor to account for new evaluator logic and to count backward edges in loops in inDegree calculation 2025-02-13 02:16:55 -08:00
Waleed Latif
0dbd7a7f2a Updated executor to account for new evaluator logic and to count backward edges in loops in inDegree calculation 2025-02-13 02:01:58 -08:00
Waleed Latif
af323a71ab Modify executor to treat evaluator as an 'output' block instead of a 'router' block, looping logic still needs to be updated but forward path works 2025-02-13 00:59:25 -08:00
Emir Karabeg
e2a5e39b0b Fix: range input experience 2025-02-12 19:37:02 -08:00
Emir Karabeg
a4cf9bf8cc Removed range restriction 2025-02-12 19:32:50 -08:00
Emir Karabeg
4e998f53b0 Feature: added eval input 2025-02-12 19:31:18 -08:00
Emir Karabeg
0cba346c51 Fix: subblock rendering based on condition of other subblock 2025-02-12 18:38:04 -08:00
Waleed Latif
322b2bec80 Reiterate in evaluator system prompt that if no blocks are available, return end 2025-02-12 13:45:50 -08:00
Waleed Latif
2818cd91a9 Added code to trim gemini response of any markdown/whitespace 2025-02-12 13:37:51 -08:00
Waleed Latif
c203fbf1d2 Include prior history with responses/justifications in later calls to agent block 2025-02-12 13:33:02 -08:00
Waleed Latif
e52233898b Include justification in evaluator response 2025-02-12 12:30:36 -08:00
Waleed Latif
3fb861b85a Added case for when evaluator does not have any target blocks 2025-02-12 12:13:05 -08:00
Waleed Latif
ec2150ac3b Modify evaluator to just loop back and forth if there is only one destination in loop 2025-02-12 12:08:46 -08:00
Emir Karabeg
11cbd1dab2 Feature: max iterations can be updated from UI 2025-02-12 11:46:38 -08:00
Waleed Latif
ac28e09b51 Added maxIterations to serialized loops, executor now uses provided max iterations for each loop from workflow store 2025-02-12 11:24:51 -08:00
Emir Karabeg
660a203c75 Fix: table subblock input 2025-02-12 11:13:38 -08:00
Emir Karabeg
1f9acf313e Feature: added max iterations to loop UI; will add adjustable 2025-02-12 00:43:28 -08:00
Emir Karabeg
06a360b2c8 Added max iterations update to state for loop 2025-02-11 21:49:41 -08:00
Emir Karabeg
ddfa86641b Added block height to state and made loop relative to block height and position 2025-02-11 21:36:52 -08:00
Emir Karabeg
611ed7da15 Removed vm2 dependency 2025-02-11 20:38:29 -08:00
Emir Karabeg
a7339b515d Fix: removed shadow from loop label 2025-02-11 20:05:34 -08:00
Emir Karabeg
dbfc9df44f Added loop label 2025-02-11 20:03:44 -08:00
Emir Karabeg
867a4f8279 Added back border transition for handles 2025-02-11 19:43:17 -08:00
Emir Karabeg
866ce994fd Fixed re-render edge bug 2025-02-11 19:38:08 -08:00
Emir Karabeg
2f8181162b Fixed custom edge implementation to match ReactFlow 2025-02-11 16:12:29 -08:00
Emir Karabeg
bddc6cb7f7 Fixed delete block in loop error 2025-02-11 16:12:29 -08:00
Waleed Latif
7ddb4ca0f0 Removed extraneous logs, and treat evaluator block as a pass-through. Added jsdoc annotations to executor functions 2025-02-11 15:18:04 -08:00
Waleed Latif
3d52dec731 Added loops to serialized blob sent to executor, loop between evaluator -> agent works 2025-02-11 14:53:32 -08:00
Waleed Latif
5100e2e2fc Modified evaluator, runs similar to router and selects correct route but doesn't actually continue down that route. WIP 2025-02-11 13:47:22 -08:00