mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-29 01:17:36 -05:00
ui : drop the last used column from the manager table
Assisted-by: pi:llama.cpp/DeepSeek-V4.1-Flash
This commit is contained in:
+2
-16
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import type { ModelsTableGroup } from './utils';
|
||||
import { formatLastUsed, type ModelQuantGroup } from './utils';
|
||||
import type { ModelQuantGroup } from './utils';
|
||||
import {
|
||||
Boxes,
|
||||
ChevronDown,
|
||||
@@ -164,7 +164,7 @@
|
||||
}
|
||||
];
|
||||
}
|
||||
const rowGrid = 'grid grid-cols-[minmax(0,1fr)_7rem_5rem_3rem_4.5rem] items-center gap-6';
|
||||
const rowGrid = 'grid grid-cols-[minmax(0,1fr)_7rem_3rem_4.5rem] items-center gap-6';
|
||||
|
||||
function stateOf(option: ModelOption): ServerModelStatus | null {
|
||||
const model = modelsStore.routerModels.find((m) => m.id === option.model);
|
||||
@@ -241,10 +241,6 @@
|
||||
|
||||
<ModelContext class="justify-self-end" {option} />
|
||||
|
||||
<span class="justify-self-end text-sm text-muted-foreground">
|
||||
{formatLastUsed(modelsStore.recentModelUsage[option.id])}
|
||||
</span>
|
||||
|
||||
{@render statusDot(option)}
|
||||
|
||||
<div class="flex items-center justify-center justify-self-center">
|
||||
@@ -305,8 +301,6 @@
|
||||
|
||||
<span></span>
|
||||
|
||||
<span></span>
|
||||
|
||||
<span class="justify-self-center">
|
||||
<span
|
||||
class="block h-2.5 w-2.5 rounded-full {anyLoaded
|
||||
@@ -355,10 +349,6 @@
|
||||
|
||||
<ModelContext class="justify-self-end" {option} />
|
||||
|
||||
<span class="justify-self-end text-sm text-muted-foreground">
|
||||
{formatLastUsed(modelsStore.recentModelUsage[option.id])}
|
||||
</span>
|
||||
|
||||
{@render statusDot(option)}
|
||||
|
||||
<div class="flex items-center justify-center justify-self-center">
|
||||
@@ -453,8 +443,6 @@
|
||||
|
||||
<span></span>
|
||||
|
||||
<span></span>
|
||||
|
||||
<span class="flex justify-center">
|
||||
{#if expanded}
|
||||
<ChevronDown class="h-3.5 w-3.5 text-muted-foreground" />
|
||||
@@ -523,8 +511,6 @@
|
||||
|
||||
<span class="text-right">Context</span>
|
||||
|
||||
<span class="text-right">Last used</span>
|
||||
|
||||
<span class="text-center">Status</span>
|
||||
|
||||
<span class="text-center">Actions</span>
|
||||
|
||||
Reference in New Issue
Block a user