mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-01-30 06:12:06 +00:00
add token speed block
This commit is contained in:
@@ -51,6 +51,7 @@ const MODULE_TYPES = [
|
||||
{ label: "gitBranch", value: "gitBranch" },
|
||||
{ label: "model", value: "model" },
|
||||
{ label: "usage", value: "usage" },
|
||||
{ label: "speed", value: "speed" },
|
||||
{ label: "script", value: "script" },
|
||||
];
|
||||
|
||||
@@ -936,6 +937,14 @@ export function StatusLineConfigDialog({
|
||||
color: "bright_magenta",
|
||||
};
|
||||
break;
|
||||
case "speed":
|
||||
newModule = {
|
||||
type: "speed",
|
||||
icon: "⚡",
|
||||
text: "{{tokenSpeed}}",
|
||||
color: "bright_green",
|
||||
};
|
||||
break;
|
||||
case "script":
|
||||
newModule = {
|
||||
type: "script",
|
||||
|
||||
Reference in New Issue
Block a user