Merge branch 'main' into feature/Credential

This commit is contained in:
Henry
2023-07-27 11:37:30 +01:00
25 changed files with 30 additions and 27 deletions
@@ -77,6 +77,9 @@ class ConversationChain_Chains implements INode {
finalText += finalDocs[i].pageContent
}
const replaceChar: string[] = ['{', '}']
for (const char of replaceChar) finalText = finalText.replaceAll(char, '')
if (finalText) systemMessage = `${systemMessage}\nThe AI has the following context:\n${finalText}`
const obj: any = {