File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
apps/agentstack-ui/src/modules Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 33 * SPDX-License-Identifier: Apache-2.0
44 */
55
6- import type { FormDemands , FormFulfillments } from 'agentstack-sdk' ;
6+ import type { FormRender } from 'agentstack-sdk' ;
77import type { CSSProperties } from 'react' ;
88
9+ import type { RunFormValues } from '../types' ;
910import { FormField } from './FormField' ;
1011import classes from './FormFields.module.scss' ;
1112
1213interface Props {
13- fields : FormDemands [ 'fields' ] ;
14- columns : FormDemands [ 'columns' ] ;
15- values ?: FormFulfillments [ 'values' ] ;
14+ fields : FormRender [ 'fields' ] ;
15+ columns : FormRender [ 'columns' ] ;
16+ values ?: RunFormValues ;
1617}
1718
1819export function FormFields ( { fields, columns, values } : Props ) {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function HandsOff() {
4242 const agentExtensions = getAgentExtensions ( agent ) ;
4343 const formRender = formExtensionExtractor ( agentExtensions ) ;
4444
45- return formRender ?? undefined ;
45+ return formRender ?. form_demands . initial_form ?? undefined ;
4646 } , [ agent ] ) ;
4747
4848 const { messages } = useMessages ( ) ;
You can’t perform that action at this time.
0 commit comments