From d3b90a02539c50a1dfb7a97ca6b52d103407bce3 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 3 Sep 2024 19:47:36 +0100 Subject: [PATCH] initial impl of default Budibase AI config through env vars --- .../portal/settings/ai/AIConfigTile.svelte | 6 +++++- .../portal/settings/ai/ConfigModal.svelte | 10 +++++----- .../builder/portal/settings/ai/constants.ts | 19 +++++++++++++------ packages/types/src/documents/global/config.ts | 10 +++++----- .../src/api/controllers/global/configs.ts | 19 ++++++++++++++++--- packages/worker/src/environment.ts | 3 +++ 6 files changed, 47 insertions(+), 20 deletions(-) diff --git a/packages/builder/src/pages/builder/portal/settings/ai/AIConfigTile.svelte b/packages/builder/src/pages/builder/portal/settings/ai/AIConfigTile.svelte index 1b2b4b99a7..39c0972027 100644 --- a/packages/builder/src/pages/builder/portal/settings/ai/AIConfigTile.svelte +++ b/packages/builder/src/pages/builder/portal/settings/ai/AIConfigTile.svelte @@ -1,5 +1,6 @@