Merge branch 'main' into feature/LlamaIndex

# Conflicts:
#	.github/workflows/autoSyncMergedPullRequest.yml
This commit is contained in:
Henry
2024-01-25 19:16:20 +00:00
9 changed files with 401 additions and 468 deletions
+2 -1
View File
@@ -1824,7 +1824,8 @@ export class App {
if (result?.sourceDocuments) apiMessage.sourceDocuments = JSON.stringify(result.sourceDocuments)
if (result?.usedTools) apiMessage.usedTools = JSON.stringify(result.usedTools)
if (result?.fileAnnotations) apiMessage.fileAnnotations = JSON.stringify(result.fileAnnotations)
await this.addChatMessage(apiMessage)
const chatMessage = await this.addChatMessage(apiMessage)
result.chatMessageId = chatMessage.id
logger.debug(`[server]: Finished running ${nodeToExecuteData.label} (${nodeToExecuteData.id})`)
await this.telemetry.sendTelemetry('prediction_sent', {