File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { PlanActionsParams } from '.'
44import { getLLMResponse } from '../../app/api'
55import { getApp } from '../app'
66import { getState } from '../../state/store'
7- import { unset } from 'lodash'
7+ import { set , unset } from 'lodash'
88import { processAllMetadata } from '../metadataProcessor'
99import { getParsedIframeInfo } from '../origin'
1010
@@ -31,6 +31,9 @@ export async function planActionsRemote({
3131 }
3232 if ( ! deepResearch ) {
3333 unset ( payload , 'tasks' )
34+ } else {
35+ set ( payload , 'messages.0.content' , "" )
36+ set ( payload , 'actions' , [ ] )
3437 }
3538 const dbId = getApp ( ) . useStore ( ) . getState ( ) . toolContext ?. dbId || undefined
3639 const getAllMetadataPromise = processAllMetadata ( false , dbId )
You can’t perform that action at this time.
0 commit comments