Elffuss BraidHub

kikocis/continue public

67b431a633b8 · 458 BRawPermalink
1import { vi } from "vitest";
2
3export const getApiClient = vi.fn<(accessToken: string | null) => any>(
4 () => null,
5);
6export const getLlmApi =
7 vi.fn<
8 (
9 config: any,
10 authConfig: any,
11 modelConfig?: any,
12 orgScopeId?: string,
13 ) => [any, any]
14 >();
15export const getModel = vi.fn<(config: any, modelName: string) => any>();
16export const createLlmApi =
17 vi.fn<(modelConfig: any, authConfig: any, orgScopeId?: string) => any>();