lint + tests

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

View File

@ -18,6 +18,7 @@ jest.mock("@budibase/pro", () => ({
ai: { ai: {
LargeLanguageModel: { LargeLanguageModel: {
forCurrentTenant: async () => ({ forCurrentTenant: async () => ({
initialised: true,
run: jest.fn(() => "response from LLM"), run: jest.fn(() => "response from LLM"),
buildPromptFromAIOperation: buildPromptMock, buildPromptFromAIOperation: buildPromptMock,
}), }),