This commit is contained in:
Martin McKeaveney 2024-11-05 11:34:43 +00:00
parent 08ef3a249a
commit a7b52b0a9a
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,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(),
}), }),