MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / fetchInputUrl

Function fetchInputUrl

packages/server-e2e/test/client.test.ts:592–596  ·  view source on GitHub ↗
(input: Parameters<typeof fetch>[0])

Source from the content-addressed store, hash-verified

590}
591
592function fetchInputUrl(input: Parameters<typeof fetch>[0]): string {
593 if (typeof input === 'string') return input;
594 if (input instanceof URL) return input.toString();
595 return input.url;
596}
597
598function parseRecordedJsonBody(call: FetchCall | undefined): unknown {
599 const body = call?.init.body;

Callers 2

recordingFetchFunction · 0.70
recordingFetchSequenceFunction · 0.70

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected