Skip to content

Commit ffd9823

Browse files
author
Jicheng Lu
committed
minor change
1 parent 734d8f7 commit ffd9823

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Plugins/BotSharp.Plugin.OpenAI/Providers/Chat/ChatCompletionProvider.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public async Task<RoleDialogModel> GetChatCompletionsStreamingAsync(Agent agent,
237237
textStream.Collect(text);
238238

239239
#if DEBUG
240-
_logger.LogCritical($"Content update: {text}");
240+
_logger.LogCritical($"Stream Content update: {text}");
241241
#endif
242242

243243
var content = new RoleDialogModel(AgentRole.Assistant, text)
@@ -277,7 +277,7 @@ public async Task<RoleDialogModel> GetChatCompletionsStreamingAsync(Agent agent,
277277
else if (choice.FinishReason.HasValue)
278278
{
279279
var allText = textStream.GetText();
280-
_logger.LogCritical($"Text Content: {allText}");
280+
_logger.LogInformation($"Stream text Content: {allText}");
281281

282282
responseMessage = new RoleDialogModel(AgentRole.Assistant, allText)
283283
{

0 commit comments

Comments
 (0)