mirror of
https://github.com/lordmathis/llamactl.git
synced 2025-12-23 17:44:24 +00:00
Remove 'loading' and 'error' states
This commit is contained in:
@@ -13,14 +13,14 @@ export type BackendTypeValue = typeof BackendType[keyof typeof BackendType]
|
||||
|
||||
export type InstanceStatus = 'running' | 'stopped' | 'failed' | 'restarting'
|
||||
|
||||
export type HealthState = 'stopped' | 'starting' | 'loading' | 'ready' | 'error' | 'failed' | 'restarting'
|
||||
export type HealthState = 'stopped' | 'starting' | 'ready' | 'failed' | 'restarting'
|
||||
|
||||
export interface HealthStatus {
|
||||
state: HealthState
|
||||
instanceStatus: InstanceStatus | 'unknown'
|
||||
instanceStatus: InstanceStatus
|
||||
lastChecked: Date
|
||||
error?: string
|
||||
source: 'backend' | 'http' | 'error'
|
||||
source: 'backend' | 'http'
|
||||
}
|
||||
|
||||
export interface Instance {
|
||||
|
||||
Reference in New Issue
Block a user