MCPcopy Index your code
hub / github.com/anomalyco/models.dev / knowledgeText

Function knowledgeText

packages/web/src/shared.ts:47–49  ·  view source on GitHub ↗
(value?: string)

Source from the content-addressed store, hash-verified

45}
46
47export function knowledgeText(value?: string) {
48 return value ? value.substring(0, 7) : "-";
49}
50
51export function weightsText(value?: boolean) {
52 if (value === undefined) return "-";

Callers 1

ModelPageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected