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

Function messageFor

graph-ui/src/llm/SidecarPanel.tsx:63–78  ·  view source on GitHub ↗
(props: SidecarPanelProps)

Source from the content-addressed store, hash-verified

61}
62
63function messageFor(props: SidecarPanelProps): string {
64 switch (props.state) {
65 case 'off':
66 return LLM_OFF_MESSAGE;
67 case 'disabled-by-policy':
68 return llmPolicyMessage(props.project);
69 case 'not-running':
70 return LLM_NOT_RUNNING_MESSAGE;
71 case 'starting':
72 return LLM_STARTING_MESSAGE;
73 case 'ready':
74 return LLM_READY_MESSAGE;
75 default:
76 return LLM_OFF_MESSAGE;
77 }
78}
79
80function hintFor(props: SidecarPanelProps): string {
81 switch (props.state) {

Callers 1

SidecarPanelFunction · 0.85

Calls 1

llmPolicyMessageFunction · 0.90

Tested by

no test coverage detected