Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
51
function
toolCallId(): string {
52
return
'call_'
+ uuidv4().replace(/-/g,
''
).substring(0, 24);
53
}
54
55
class
OpenAIRequestError extends Error {
56
status: number;
Callers
5
handleOpenAIStream
Function · 0.85
handleOpenAINonStream
Function · 0.85
handleResponsesStream
Function · 0.85
handleResponsesNonStream
Function · 0.85
responsesToChatCompletions
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected