MCPcopy Index your code
hub / github.com/continuedev/continue / getApiClient

Function getApiClient

extensions/cli/src/config.ts:90–99  ·  view source on GitHub ↗
(
  accessToken: string | undefined | null,
)

Source from the content-addressed store, hash-verified

88}
89
90export function getApiClient(
91 accessToken: string | undefined | null,
92): DefaultApi {
93 return new DefaultApi(
94 new Configuration({
95 basePath: env.apiBase.replace(/\/$/, ""),
96 accessToken: accessToken ?? undefined,
97 }),
98 );
99}

Callers 3

initializeWithOnboardingFunction · 0.85
doInitializeMethod · 0.85
updateMethod · 0.85

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected