feat(ui,api,admin): sveltekit admin spa, usage by day/agent/conversation/model, rate limits, memory tree, turn snapshot
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export const LIMIT_LABELS: Record<string, string> = {
|
||||
five_hour: "5-hour",
|
||||
overage: "overage",
|
||||
seven_day: "7-day",
|
||||
seven_day_opus: "7-day · Opus",
|
||||
seven_day_sonnet: "7-day · Sonnet",
|
||||
};
|
||||
|
||||
export function limitLabel(window: string): string {
|
||||
return LIMIT_LABELS[window] ?? window;
|
||||
}
|
||||
Reference in New Issue
Block a user