Skip to content

Commit 231ed77

Browse files
committed
Fix editor assistant prompt type error
1 parent 1ad9a5a commit 231ed77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/lib/agent/built-in-agents/editor-assistant.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Pulse Editor extensions and its features.`,
9999
},
100100
// CanvasViewConfig
101101
workflow: {
102-
type: "any",
102+
type: "object",
103103
description: `The workflow that the canvas is using. This contains nodes and edges information required for a xyflow/ReactFlow graph. \
104104
This field exists if the view type is 'Canvas'.`,
105105
optional: true,
@@ -189,7 +189,7 @@ with Pulse Editor and extension commands.`,
189189
"Whether the file system object is a folder or not.",
190190
},
191191
subDirItems: {
192-
type: "any",
192+
type: "object",
193193
description:
194194
"The sub-directory items of the file system object. ",
195195
optional: true,

0 commit comments

Comments
 (0)