feat: allow config of DALL-E-3 System Prompt via env 🎨 (#1150)

This commit is contained in:
Danny Avila 2023-11-07 18:52:23 -05:00 committed by GitHub
parent 4f3b66756a
commit 43d7a751d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 214 additions and 7 deletions

View file

@ -58,7 +58,7 @@ Guidelines:
replaceUnwantedChars(inputString) {
return inputString
.replace(/\r\n|\r|\n/g, ' ')
.replace('"', '')
.replace(/"/g, '')
.trim();
}