MCPcopy
hub / github.com/SciPhi-AI/R2R / R2RClientOptions

Interface R2RClientOptions

js/sdk/src/r2rClient.ts:27–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25};
26
27interface R2RClientOptions {
28 enableAutoRefresh?: boolean;
29 getTokensCallback?: () => {
30 accessToken: string | null;
31 refreshToken: string | null;
32 };
33 setTokensCallback?: (
34 accessToken: string | null,
35 refreshToken: string | null,
36 ) => void;
37 onRefreshFailedCallback?: () => void;
38}
39
40export class r2rClient extends BaseClient {
41 public readonly chunks: ChunksClient;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected