fix: debug run not show total right tokens (#3843)
This commit is contained in:
@@ -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 || '',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user