MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / llmChipValue

Function llmChipValue

graph-ui/src/llm/strings.ts:107–122  ·  view source on GitHub ↗
(state: SidecarState, model: string)

Source from the content-addressed store, hash-verified

105
106/** Der Wert des Statusleisten-Chips zu einer Lage. Der Beweislauf liest ihn woertlich. */
107export function llmChipValue(state: SidecarState, model: string): string {
108 switch (state) {
109 case 'off':
110 return 'off';
111 case 'disabled-by-policy':
112 return 'off by policy';
113 case 'not-running':
114 return 'not running';
115 case 'starting':
116 return 'starting';
117 case 'ready':
118 return model.length > 0 ? `ready: ${model}` : 'ready';
119 default:
120 return 'off';
121 }
122}
123
124/** Der `title` des Menuepunktes, je nach Lage. */
125export function llmMenuTitle(state: SidecarState): string {

Callers 2

ProjectWindowViewFunction · 0.90
sidecar.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected