Commit Graph

82 Commits

Author SHA1 Message Date
Waleed Latif
ee733fe707 Small improvement to executor return format 2025-02-08 21:27:22 -08:00
Waleed Latif
30d3e934db Added function execution logic locally instead of 3P API using vm, modified executor to handle connection block (still testing) 2025-02-08 14:21:41 -08:00
Waleed Latif
893954dd71 Add support for arrays in schema 2025-02-07 13:30:29 -08:00
Waleed Latif
01d2a8acd5 Added support for structured response format from agent block in the target block's connectio tags & connection dropdown menu. Tested, resolves values when response format is specified, and when it isn't 2025-02-07 13:01:38 -08:00
Waleed Latif
a10a724a51 Added support for response format in agent block. Works in all but deepseek (will fix) and gemini (does not support for this model). If responseformat is not specified, we get the response back wrapped in 'content' like before 2025-02-06 19:59:44 -08:00
Waleed Latif
4df1c8268c Removed duplicate logic to map model name onto provider 2025-02-05 18:27:11 -08:00
Waleed Latif
ac079cc295 Added logic in executor to execute router block, traversing down one of the paths. Use BFS to determine available paths, continue down the one that the router decides. If there is no router, we can still continue with parallel block execution. Added recursive envvar resolution in executor as well 2025-02-05 14:11:04 -08:00
Waleed Latif
9493055c60 Added prettier, added husky pre-commit hook to ensure formatting 2025-02-05 03:10:23 -08:00
Waleed Latif
e430bee5ea Add the ability to resolve envvar values and connection tags inside of tools sub-block 2025-02-04 18:14:00 -08:00
Waleed Latif
98c39afe43 Created new providers/ directory for model providers, modified tool names to have '_' instead of '.', added support for function/tool calling by agent block. Works for OpenAI w firecrawl tool, needs to be implemented still for other providers 2025-02-04 13:07:03 -08:00
Waleed Latif
b67494eeef Fixed error handling in reverse proxy, use executor as centralized place to handle errors. Error bubbles up to proxy -> executor -> block log -> custom console 2025-02-03 12:11:03 -08:00
Waleed Latif
6c29d61652 Fixed failing executor unit tests, tests include mocks for /api/proxy calls 2025-02-03 11:55:20 -08:00
Waleed Latif
207bd7b4fa Added reverse proxy to resolve CORS issues, now all external API calls are routed through /api/proxy, API keys & credentials are now all on the server 2025-02-03 11:28:46 -08:00
Waleed Latif
6eadc0ae34 Added tag dropdown when user drags in connection tag or types in '<' that shows them what fields are available. Works for short-input and long-input 2025-02-01 22:48:28 -08:00
Waleed Latif
667704820d Modified envvar detection & evaluation criteria to be text inside of {{}} instead of {} 2025-02-01 17:37:04 -08:00
Waleed Latif
4e44594953 Added envvar store, resolves values in short-input, long-input, code sub-blocks. Resolves value at execution time 2025-02-01 13:15:11 -08:00
Waleed Latif
78fa6b44d3 Fixed failing executor tests 2025-02-01 10:56:37 -08:00
Emir Karabeg
2b08e2d830 Made reliable type passdown from executor to console 2025-01-31 19:19:03 -08:00
Waleed Latif
823f89ba74 Moved block log initilization earlier in executor, before inputs are resolved. Throw errors instead of warnings at runtime during execution 2025-01-31 19:06:52 -08:00
Waleed Latif
ea823539ac Added support for disabled blocks, throw warning at runtime 2025-01-31 18:30:25 -08:00
Emir Karabeg
68b1e3c327 Fixed icons showing in console for every block 2025-01-31 16:15:54 -08:00
Waleed Latif
fb4808c097 Modified executor to log at block-level granularity, and support parallel block execution 2025-01-31 11:49:07 -08:00
Waleed Latif
3850c112ca Standardized output format for blocks/tools. Updated executor so we can now resolve sub-json values for tagged inputs. Updated serializer to match new block output format. 2025-01-30 13:50:38 -08:00
Waleed Latif
c5545397a9 Made CrewAI vision block functional 2025-01-29 14:40:05 -08:00
Waleed Latif
5ccf55cbb8 Extended and simplified executor and workflow execution hook, connections work. Added new unit test for Agent -> Function -> API and it passes. Tested Agent -> API in workflow UI, succeeds. 2025-01-28 19:36:17 -08:00
Waleed Latif
4d3aead26c Added output to workflow state, since it can dynamically change based on what fields are filled/not filled out. Simplified execution by removing interface validation, moved to serializer. Modified unit tests accordingly 2025-01-28 13:52:10 -08:00
Waleed Latif
f0f88dec5d Removed extraneous semicolons 2025-01-28 10:40:38 -08:00
Waleed Latif
f23350e6b4 Added ToolResponse interface to standardize block response format, updated executor to use response transformation specified in the tool it is using, confirmed agent & api tool working individually 2025-01-19 23:36:26 -08:00
Waleed Latif
f9764816de Modified workflow, serializer, and executor to use block state from stores instead of ReactFlow nodes 2025-01-18 22:59:52 -08:00
Emir Karabeg
bb9d8f942c Rename registry to index 2025-01-17 20:55:03 -08:00
Waleed Latif
07cb295200 Modified tools directory to be more generic, updated serializer and executor accordingly 2025-01-17 19:08:40 -08:00
Waleed Latif
65c7e21386 Added executor that is block-agnostic and executes serialized workflow 2025-01-16 12:30:23 -08:00