Merge branch 'budi-8608-ai-platform-level-config' of github.com:Budibase/budibase into budi-8608-ai-platform-level-config

This commit is contained in:
Martin McKeaveney 2024-09-10 10:55:25 +01:00
commit 08669793d7
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ function enrichOIDCLogos(oidcLogos: OIDCLogosConfig) {
async function enrichAIConfig(aiConfig: AIConfig) { async function enrichAIConfig(aiConfig: AIConfig) {
// Strip out the API Keys from the response so they don't show in the UI // Strip out the API Keys from the response so they don't show in the UI
for (let key in aiConfig.config) { for (const key in aiConfig.config) {
if (aiConfig.config[key].apiKey) { if (aiConfig.config[key].apiKey) {
aiConfig.config[key].apiKey = PASSWORD_REPLACEMENT aiConfig.config[key].apiKey = PASSWORD_REPLACEMENT
} }