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

Function hintFor

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

Source from the content-addressed store, hash-verified

78}
79
80function hintFor(props: SidecarPanelProps): string {
81 switch (props.state) {
82 case 'off':
83 return LLM_OFF_HINT;
84 case 'disabled-by-policy':
85 return llmPolicyDetail(props.policyDetail);
86 case 'not-running':
87 return LLM_NOT_RUNNING_HINT;
88 default:
89 return props.detail;
90 }
91}
92
93export default function SidecarPanel(props: SidecarPanelProps): JSX.Element {
94 const facts = props.facts;

Callers 1

SidecarPanelFunction · 0.85

Calls 1

llmPolicyDetailFunction · 0.90

Tested by

no test coverage detected