init variable

This commit is contained in:
Martin McKeaveney 2024-11-05 12:22:29 +00:00
parent f42b4ced46
commit b3c01a28c2
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ jest.mock("@budibase/pro", () => ({
ai: { ai: {
LargeLanguageModel: { LargeLanguageModel: {
forCurrentTenant: async () => ({ forCurrentTenant: async () => ({
initialised: true,
run: jest.fn(() => `Mock LLM Response`), run: jest.fn(() => `Mock LLM Response`),
buildPromptFromAIOperation: jest.fn(), buildPromptFromAIOperation: jest.fn(),
}), }),