merlyn/server
Sean Hatfield e5f3fb0892
Agent flow builder (#3077)
* wip agent builder

* refactor structure for agent builder

* improve ui for add block menu and sidebar

* lint

* node ui improvement

* handle deleting variable in all nodes

* add headers and body to apiCall node

* lint

* Agent flow builder backend (#3078)

* wip agent builder backend

* save/load agent tasks

* lint

* refactor agent task to use uuids instead of names

* placeholder for run task

* update frontend sidebar + seperate backend to agent-tasks utils

* lint

* add deleting of agent tasks

* create AgentTasks class + wip load agent tasks into aibitat

* lint

* inject + call agent tasks

* wip call agent tasks

* add llm instruction + fix api calling blocks

* add ui + backend for editing/toggling agent tasks

* lint

* add back middlewares

* disable run task + add navigate to home on logo click

* implement normalizePath to prevent path traversal

* wip make api calling more consistent

* lint

* rename all references from task to flow

* patch load flow bug when on editing page

* remove unneeded files/comments

* lint

* fix delete endpoint + rename load flows

* add move block to ui + fix api-call backend + add telemetry

* lint

* add web scraping block

* only allow admin for agent builder

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Move AgentFlowManager flows to static
simplify UI states
Handle LLM prompt flow when provided non-string

* delete/edit menu for agent flow panel + update flow icon

* lint

* fix open builder button hidden bug

* add tooltips to move up/down block buttons

* add tooltip to delete block

* truncate block description to fit on blocklist component

* light mode agent builder sidebar

* light mode api call block

* fix light mode styles for agent builder blocks

* agent flow fetch in UI

* sync delete flow

* agent flow ui/ux improvements

* remove unused AgentSidebar component

* comment out /run

* UI changes and updates for flow builder

* format flow panel info

* update link handling

* ui tweaks to header menu

* remove unused import

* update doc links
update block icons

* bump readme

* Patch code block header oddity
resolves #3117

* bump dev image

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-02-12 16:50:43 -08:00
..
endpoints Agent flow builder (#3077) 2025-02-12 16:50:43 -08:00
jobs add Gitlab to watchable documents (#2817) 2024-12-12 10:44:11 -08:00
models Add reasoning flag for azure models with "default" fallback (#3128) 2025-02-05 15:22:45 -08:00
prisma Reranker option for RAG (#2929) 2025-01-02 14:27:52 -08:00
storage Dynamic fetching of TogetherAI models (#3017) 2025-01-24 11:06:59 -08:00
swagger support attachments via thread API chat/stream-chat endpoints 2024-12-31 09:52:21 -08:00
utils Agent flow builder (#3077) 2025-02-12 16:50:43 -08:00
.env.example feat: update novita AI logo and default model (#3037) 2025-01-27 08:41:12 -08:00
.flowconfig devcontainer v1 (#297) 2024-01-08 15:31:06 -08:00
.gitignore Agent flow builder (#3077) 2025-02-12 16:50:43 -08:00
.nvmrc Implement Chroma Support (#1) 2023-06-07 21:31:35 -07:00
index.js Agent flow builder (#3077) 2025-02-12 16:50:43 -08:00
jsconfig.json devcontainer v1 (#297) 2024-01-08 15:31:06 -08:00
nodemon.json Full developer api (#221) 2023-08-23 19:15:07 -07:00
package.json Remove native LLM option (#3024) 2025-01-27 13:42:52 -08:00
yarn.lock Remove native LLM option (#3024) 2025-01-27 13:42:52 -08:00