Skip to content

Commit 7c73a08

Browse files
committed
fix(blocks): hide memory child fields for deep research models
1 parent 37f7fe5 commit 7c73a08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

apps/sim/blocks/blocks/agent.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ Return ONLY the JSON array.`,
460460
condition: {
461461
field: 'memoryType',
462462
value: ['conversation', 'sliding_window', 'sliding_window_tokens'],
463+
and: { field: 'model', value: MODELS_WITH_DEEP_RESEARCH, not: true },
463464
},
464465
},
465466
{
@@ -470,6 +471,7 @@ Return ONLY the JSON array.`,
470471
condition: {
471472
field: 'memoryType',
472473
value: ['sliding_window'],
474+
and: { field: 'model', value: MODELS_WITH_DEEP_RESEARCH, not: true },
473475
},
474476
},
475477
{
@@ -480,6 +482,7 @@ Return ONLY the JSON array.`,
480482
condition: {
481483
field: 'memoryType',
482484
value: ['sliding_window_tokens'],
485+
and: { field: 'model', value: MODELS_WITH_DEEP_RESEARCH, not: true },
483486
},
484487
},
485488
{

0 commit comments

Comments
 (0)