MCPcopy Create free account
hub / github.com/error311/FileRise / normalizeCopilotProfile

Function normalizeCopilotProfile

public/js/aiChat.js:93–96  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

91}
92
93function normalizeCopilotProfile(value) {
94 const v = String(value || '').trim().toLowerCase();
95 return v || 'app_chat';
96}
97
98function cloneContextPacket(value) {
99 if (!value || typeof value !== 'object' || Array.isArray(value)) {

Callers 1

createChatUiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected