MCPcopy
hub / github.com/7836246/cursor2api / toolCallId

Function toolCallId

src/openai-handler.ts:51–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51function toolCallId(): string {
52 return 'call_' + uuidv4().replace(/-/g, '').substring(0, 24);
53}
54
55class OpenAIRequestError extends Error {
56 status: number;

Callers 5

handleOpenAIStreamFunction · 0.85
handleOpenAINonStreamFunction · 0.85
handleResponsesStreamFunction · 0.85
handleResponsesNonStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected