Skip to content

Commit 88ae39c

Browse files
committed
Input fieds is a list
1 parent c22c4b5 commit 88ae39c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

llmstack/client/src/pages/AppEdit.jsx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -252,13 +252,15 @@ export default function AppEditPage(props) {
252252
type_slug: app?.type?.slug,
253253
input_fields:
254254
app?.type?.slug === "agent"
255-
? {
256-
name: "task",
257-
title: "Task",
258-
description: "What do you want the agent to perform?",
259-
type: "string",
260-
required: true,
261-
}
255+
? [
256+
{
257+
name: "task",
258+
title: "Task",
259+
description: "What do you want the agent to perform?",
260+
type: "string",
261+
required: true,
262+
},
263+
]
262264
: appInputFields,
263265
output_template:
264266
app?.type?.slug === "agent" ? "{{agent}}" : appOutputTemplate,

0 commit comments

Comments
 (0)