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

Function asCount

graph-ui/src/chat/chat-client.ts:152–154  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

150}
151
152function asCount(value: unknown): number | undefined {
153 return typeof value === 'number' && Number.isFinite(value) ? value : undefined;
154}
155
156/** The body, built in one place so the eval and the chat send the same bytes. */
157export function chatBody(request: ChatRequest): Record<string, unknown> {

Callers 1

askModelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected