MCPcopy Index your code
hub / github.com/Noumena-Network/code / getWrappedClientFetch

Function getWrappedClientFetch

src/services/api/client.ts:322–327  ·  view source on GitHub ↗
(
  fetchOverride: ClientOptions['fetch'],
  source: string | undefined,
)

Source from the content-addressed store, hash-verified

320export const CLIENT_REQUEST_ID_HEADER = 'x-client-request-id'
321
322export function getWrappedClientFetch(
323 fetchOverride: ClientOptions['fetch'],
324 source: string | undefined,
325): ClientOptions['fetch'] {
326 return buildFetch(fetchOverride, source)
327}
328
329export async function getFirstPartyRequestHeaders(options?: {
330 apiKey?: string

Callers 4

getAnthropicClientFunction · 0.85
getInferenceClientFunction · 0.85
client.test.tsFile · 0.85

Calls 1

buildFetchFunction · 0.85

Tested by

no test coverage detected