MCPcopy Create free account
hub / github.com/continuedev/continue / getSecureID

Function getSecureID

core/llm/utils/getSecureID.ts:4–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3// Utility function to get or generate UUID for LLM prompts
4export function getSecureID(): string {
5 // Adding a type declaration for the static property
6 if (!(getSecureID as any).uuid) {
7 (getSecureID as any).uuid = uuidv4();
8 }
9 return `<!-- SID: ${(getSecureID as any).uuid} -->`;
10}

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected