You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 614d826
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/code.tsx
+27-2Lines changed: 27 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@ interface CodeProps {
29
29
isPreview?: boolean
30
30
previewValue?: string|null
31
31
disabled?: boolean
32
+
onValidationChange?: (isValid: boolean)=>void
32
33
}
33
34
34
35
if(typeofdocument!=='undefined'){
@@ -60,6 +61,7 @@ export function Code({
60
61
isPreview =false,
61
62
previewValue,
62
63
disabled =false,
64
+
onValidationChange,
63
65
}: CodeProps){
64
66
// Determine the AI prompt placeholder based on language
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/sub-block.tsx
'LLM did not adhere to the specified structured response format. Expected valid JSON but received malformed content. Falling back to standard format.',
0 commit comments