mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-03 14:10:43 +00:00
feat: Change /stats to include more detailed breakdowns (#2615)
This commit is contained in:
parent
0fd602eb43
commit
770f862832
36 changed files with 3218 additions and 758 deletions
|
|
@ -27,7 +27,7 @@ export const formatDuration = (milliseconds: number): string => {
|
|||
}
|
||||
|
||||
if (milliseconds < 1000) {
|
||||
return `${milliseconds}ms`;
|
||||
return `${Math.round(milliseconds)}ms`;
|
||||
}
|
||||
|
||||
const totalSeconds = milliseconds / 1000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue