Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
]);
28
export
function
normalizePlatform(platform: string): string {
29
return
KNOWN_PLATFORMS.has(platform) ? platform :
"custom"
;
30
}
Callers
5
start
Function · 0.85
createBot
Function · 0.85
run
Method · 0.85
platform-allowlist-coverage.test.ts
File · 0.85
sanitize-error.test.ts
File · 0.85
Calls
1
has
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…