fix: assigned-only state, remove dead HfNodeModelPanel prop, deduplicate yaml example
This commit is contained in:
parent
1521198cb1
commit
32872d1ec6
4 changed files with 2 additions and 16 deletions
|
|
@ -110,12 +110,3 @@ imitate:
|
|||
sample_endpoint: /api/listings
|
||||
text_fields: [title, description, seller_info]
|
||||
prompt_template: "Evaluate the trustworthiness of this listing and flag any red flags:\n\n{text}"
|
||||
|
||||
- id: osprey
|
||||
name: Osprey
|
||||
icon: "📞"
|
||||
description: Gov't hold-line automation
|
||||
base_url: http://localhost:8520
|
||||
sample_endpoint: /api/calls/recent
|
||||
text_fields: [agency, issue, notes]
|
||||
prompt_template: "Draft a concise summary of this government call record:\n\n{text}"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ function serviceState(svcName: string): 'running' | 'stopped' | 'assigned-only'
|
|||
const cap = props.gpu.compute_cap ?? 0
|
||||
if (cap < svc.min_compute_cap) return 'incompatible'
|
||||
if (props.gpu.services_running.includes(svcName)) return 'running'
|
||||
if (props.gpu.services_assigned.includes(svcName)) return 'stopped'
|
||||
if (props.gpu.services_assigned.includes(svcName)) return 'assigned-only'
|
||||
return 'available'
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ interface NodeProfile {
|
|||
|
||||
const props = defineProps<{
|
||||
nodeId: string
|
||||
servicesCatalog: Record<string, { min_compute_cap: number; max_mb: number; catalog_size: number }>
|
||||
}>()
|
||||
|
||||
const profile = ref<NodeProfile | null>(null)
|
||||
|
|
|
|||
|
|
@ -52,11 +52,7 @@ const showHf = ref(false)
|
|||
</div>
|
||||
|
||||
<OllamaModelPanel v-if="showOllama" :node-id="node.node_id" />
|
||||
<HfNodeModelPanel
|
||||
v-if="showHf"
|
||||
:node-id="node.node_id"
|
||||
:services-catalog="node.services_catalog"
|
||||
/>
|
||||
<HfNodeModelPanel v-if="showHf" :node-id="node.node_id" />
|
||||
</section>
|
||||
</template>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue