fix: debug run not show total right tokens (#3843)
This commit is contained in:
parent
c54fcfb45d
commit
019d7069f8
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue