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

Function fetchInputUrl

packages/node-sdk/test/auth-facade.test.ts:30–34  ·  view source on GitHub ↗
(input: Parameters<typeof fetch>[0])

Source from the content-addressed store, hash-verified

28) => Promise<Response>;
29
30function fetchInputUrl(input: Parameters<typeof fetch>[0]): string {
31 if (typeof input === 'string') return input;
32 if (input instanceof URL) return input.href;
33 return input.url;
34}
35
36function freshToken(): TokenInfo {
37 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected