Fix frontend type error (#27116)

This commit is contained in:
GuanMu
2025-10-20 11:27:18 +08:00
committed by GitHub
parent dc1a380888
commit 8c298b33cd
7 changed files with 22 additions and 11 deletions

View File

@ -164,6 +164,9 @@ export const useWorkflowRun = () => {
} = workflowStore.getState()
setWorkflowRunningData({
result: {
inputs_truncated: false,
process_data_truncated: false,
outputs_truncated: false,
status: WorkflowRunningStatus.Running,
},
tracing: [],

View File

@ -86,7 +86,7 @@ const WorkflowAppWithAdditionalContext = () => {
if (!parsedInputs)
return
const userInputs: Record<string, string> = {}
const userInputs: Record<string, string | number | boolean> = {}
Object.entries(parsedInputs).forEach(([key, value]) => {
if (key.startsWith('sys.'))
return