MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / labelForGatewayStatus

Function labelForGatewayStatus

ai-code-studio/src/app/helpers.ts:295–308  ·  view source on GitHub ↗
(status?: string | null)

Source from the content-addressed store, hash-verified

293}
294
295export function labelForGatewayStatus(status?: string | null) {
296 switch (status) {
297 case 'ready':
298 return '已就绪';
299 case 'starting':
300 return '启动中';
301 case 'stopped':
302 return '已停止';
303 case 'error':
304 return '异常';
305 default:
306 return status || '未知';
307 }
308}
309
310export function labelForRunStatus(status?: string | null) {
311 switch (status) {

Callers 1

DiagnosticsPanelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected