From 910716faae0cfbbc2c71e332a60176c783555fa2 Mon Sep 17 00:00:00 2001 From: joelhulen Date: Thu, 10 Oct 2024 19:21:13 -0400 Subject: [PATCH] Save the operation ID --- src/dotnet/Core/Services/CoreService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dotnet/Core/Services/CoreService.cs b/src/dotnet/Core/Services/CoreService.cs index 38592e1d61..80acfe8dcf 100644 --- a/src/dotnet/Core/Services/CoreService.cs +++ b/src/dotnet/Core/Services/CoreService.cs @@ -646,7 +646,8 @@ private async Task CreateConversationPromptMessageAsync(string instance null, null, completionResponse.AnalysisResults, - OperationStatus.Completed); + OperationStatus.Completed, + completionResponse.OperationId); var completionPromptText = $"User prompt: {completionResponse.UserPrompt}{Environment.NewLine}Agent: {completionResponse.AgentName}{Environment.NewLine}Prompt template: {(!string.IsNullOrWhiteSpace(completionResponse.FullPrompt) ? completionResponse.FullPrompt : completionResponse.PromptTemplate)}"; var completionPrompt = new CompletionPrompt(sessionId, completionMessage.Id, completionPromptText);