1
0
Fork 0
mirror of synced 2024-09-24 13:21:53 +12:00

call right sdk method on ai module for enriching AI config

This commit is contained in:
Martin McKeaveney 2024-09-17 18:27:49 +01:00
parent e40f397c25
commit 8e2d21c85f
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 72e9846146b46efc7cbdc69daea17761cb45f1d3
Subproject commit 69633aa64b962ac4bad01360a421fe941a15fb2c

View file

@ -346,7 +346,7 @@ export async function find(ctx: UserCtx) {
}
if (type === ConfigType.AI) {
await pro.ai.enrichAIConfig(scopedConfig)
await pro.sdk.ai.enrichAIConfig(scopedConfig)
// Strip out the API Keys from the response so they don't show in the UI
for (const key in scopedConfig.config) {
if (scopedConfig.config[key].apiKey) {