MCPcopy Create free account
hub / github.com/AITabby/opencodex / streamResponses

Method streamResponses

src/proxy/index.ts:4431–4575  ·  view source on GitHub ↗
(
    body: any,
    provider: ProviderConfig,
    requestedModel: string,
    apiKey: string,
    namespaceMap: Record<string, string>,
    res: http.ServerResponse,
    sessionId?: string,
    isBackground?: boolean
  )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

handleResponsesMethod · 0.95

Calls 8

startMethod · 0.95
writeChatDeltaMethod · 0.95
finishMethod · 0.95
getAssistantMessageMethod · 0.95
updateContextUsageMethod · 0.95
getModelContextWindowMethod · 0.95
estimateTokensForRequestFunction · 0.85
writeMethod · 0.80

Tested by

no test coverage detected