Elffuss BraidHub

kikocis/continue public

main · 429 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 = vi.fn<(model: any, authConfig: any) => any>();