Skip to content

Commit a5fafe1

Browse files
author
Ben Thomas
committed
Adding fix to streaming API.
1 parent 53e94ff commit a5fafe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dotnet/src/Agents/Core/ChatCompletionAgent.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ private async IAsyncEnumerable<StreamingChatMessageContent> InternalInvokeStream
318318
{
319319
kernel ??= this.Kernel;
320320

321-
(IChatCompletionService chatCompletionService, PromptExecutionSettings? executionSettings) = GetChatCompletionService(kernel, arguments);
321+
(IChatCompletionService chatCompletionService, PromptExecutionSettings? executionSettings) = GetChatCompletionService(kernel, this.Arguments.MergeArguments(arguments));
322322

323323
ChatHistory chat = await this.SetupAgentChatHistoryAsync(history, arguments, kernel, additionalInstructions, cancellationToken).ConfigureAwait(false);
324324

0 commit comments

Comments
 (0)