feat(logs): enhance usage logs table with log type indicators and improve UI elements
This commit is contained in:
Vendored
-1
@@ -162,7 +162,6 @@ export function formatTokens(tokens: number): string {
|
||||
* Format use time in seconds with appropriate unit
|
||||
*/
|
||||
export function formatUseTime(seconds: number): string {
|
||||
if (seconds < 1) return `${(seconds * 1000).toFixed(0)}ms`
|
||||
if (seconds < 60) return `${seconds.toFixed(1)}s`
|
||||
const minutes = Math.floor(seconds / 60)
|
||||
const remainingSeconds = seconds % 60
|
||||
|
||||
Reference in New Issue
Block a user