MCPcopy
hub / github.com/CopilotKit/CopilotKit / normalizePlatform

Function normalizePlatform

packages/bot/src/telemetry/sanitize-error.ts:28–30  ·  view source on GitHub ↗
(platform: string)

Source from the content-addressed store, hash-verified

26 "teams",
27]);
28export function normalizePlatform(platform: string): string {
29 return KNOWN_PLATFORMS.has(platform) ? platform : "custom";
30}

Callers 5

startFunction · 0.85
createBotFunction · 0.85
runMethod · 0.85

Calls 1

hasMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…