Skip to content

Commit

Permalink
Save the operation ID
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhulen committed Oct 10, 2024
1 parent f3cbb53 commit 910716f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dotnet/Core/Services/CoreService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,8 @@ private async Task<Message> 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);
Expand Down

0 comments on commit 910716f

Please sign in to comment.