Elffuss BraidHub

kikocis/continue public

4ab005c754da · 788 BRawPermalink
1// Mock API Client
2export class MockApiClient {
3 async getFreeTrialStatus() {
4 return {
5 optedInToFreeTrial: true,
6 chatCount: 5,
7 chatLimit: 100,
8 };
9 }
10 async listAssistants() {
11 return [];
12 }
13 async getAssistant() {
14 // Return a minimal assistant config
15 return {
16 configResult: {
17 config: {
18 name: "test-assistant",
19 models: [
20 {
21 provider: "openai",
22 name: "test-model",
23 model: "test-model",
24 },
25 ],
26 systemMessage: "You are a helpful assistant",
27 tools: [],
28 mcpServers: [],
29 },
30 },
31 };
32 }
33 async listOrganizations() {
34 return { organizations: [] };
35 }
36 async syncSecrets() {
37 return [];
38 }
39}