Commit 02d9fed
feat(agent): messages array, memory (#2023)
* feat(agent): messages array, memory options
* feat(messages-input): re-order messages
* backend for new memory setup, backwards compatibility in loadWorkflowsFromNormalizedTable from old agent block to new format
* added memories all conversation sliding token window, standardized modals
* lint
* fix build
* reorder popover for output selector for chat
* add internal auth, finish memories
* fix rebase
* fix failing test
---------
Co-authored-by: waleed <walif6@gmail.com>1 parent a8a693f commit 02d9fed
53 files changed
Lines changed: 11533 additions & 1383 deletions
File tree
- apps/sim
- app
- api/memory
- [id]
- workspace/[workspaceId]
- knowledge/[id]/[documentId]/components/delete-chunk-modal
- w
- [workflowId]/components
- chat
- components/output-select
- control-bar/components
- api-key-selector
- deploy-modal
- components
- chat-deploy
- components
- deployment-info
- components
- api-endpoint
- api-key
- example-command
- deployment-controls/components
- webhook-settings
- panel-new/components/editor/components/sub-block
- components
- messages-input
- tool-input/components/custom-tool-modal
- workflow-block
- components/sidebar
- components-new/settings-modal/components
- api-keys
- environment
- subscription/components/cancel-subscription
- team-management/components/remove-member-dialog
- components
- knowledge-base-tags
- workspace-selector
- blocks
- blocks
- components/emcn/components/popover
- executor/handlers/agent
- lib/workflows
- providers
- serializer
- tools/memory
- packages/db
- migrations
- meta
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
566 | 592 | | |
567 | 593 | | |
568 | 594 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
11 | 48 | | |
12 | 49 | | |
13 | 50 | | |
| |||
41 | 78 | | |
42 | 79 | | |
43 | 80 | | |
44 | | - | |
45 | 81 | | |
46 | 82 | | |
47 | 83 | | |
| |||
65 | 101 | | |
66 | 102 | | |
67 | 103 | | |
68 | | - | |
69 | 104 | | |
70 | 105 | | |
71 | 106 | | |
| |||
86 | 121 | | |
87 | 122 | | |
88 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
89 | 147 | | |
90 | 148 | | |
91 | 149 | | |
92 | 150 | | |
93 | 151 | | |
94 | 152 | | |
95 | | - | |
| 153 | + | |
96 | 154 | | |
97 | 155 | | |
98 | 156 | | |
| |||
122 | 180 | | |
123 | 181 | | |
124 | 182 | | |
125 | | - | |
126 | 183 | | |
127 | 184 | | |
128 | 185 | | |
| |||
146 | 203 | | |
147 | 204 | | |
148 | 205 | | |
149 | | - | |
150 | 206 | | |
151 | 207 | | |
152 | 208 | | |
| |||
166 | 222 | | |
167 | 223 | | |
168 | 224 | | |
169 | | - | |
170 | 225 | | |
171 | 226 | | |
172 | 227 | | |
| |||
241 | 296 | | |
242 | 297 | | |
243 | 298 | | |
244 | | - | |
245 | 299 | | |
246 | 300 | | |
247 | 301 | | |
| |||
261 | 315 | | |
262 | 316 | | |
263 | 317 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
280 | 329 | | |
281 | | - | |
282 | | - | |
283 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
284 | 333 | | |
285 | 334 | | |
286 | | - | |
| 335 | + | |
287 | 336 | | |
288 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
289 | 342 | | |
290 | 343 | | |
291 | | - | |
292 | 344 | | |
293 | 345 | | |
294 | 346 | | |
295 | 347 | | |
296 | 348 | | |
297 | 349 | | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
298 | 373 | | |
299 | 374 | | |
300 | 375 | | |
301 | 376 | | |
302 | 377 | | |
303 | 378 | | |
304 | | - | |
| 379 | + | |
305 | 380 | | |
306 | 381 | | |
307 | 382 | | |
| |||
0 commit comments