fix: debug run not show total right tokens (#3843)

pull/3885/head
Joel 2 years ago committed by GitHub
parent c54fcfb45d
commit 019d7069f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -182,6 +182,7 @@ const useOneStepRun = <T>({
finally { finally {
setRunResult({ setRunResult({
...res, ...res,
total_tokens: res.execution_metadata?.total_tokens || 0,
created_by: res.created_by_account?.name || '', created_by: res.created_by_account?.name || '',
}) })
} }

Loading…
Cancel
Save