File tree Expand file tree Collapse file tree
src/Connectors/Connectors.OpenAI/Core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 <PackageVersion Include =" OpenAI" Version =" [2.1.0-beta.1]" />
1515 <PackageVersion Include =" Azure.AI.ContentSafety" Version =" 1.0.0" />
1616 <PackageVersion Include =" Azure.AI.OpenAI" Version =" [2.1.0-beta.1]" />
17- <PackageVersion Include =" Azure.Identity" Version =" 1.12.0 " />
17+ <PackageVersion Include =" Azure.Identity" Version =" 1.13.1 " />
1818 <PackageVersion Include =" Azure.Monitor.OpenTelemetry.Exporter" Version =" 1.3.0" />
1919 <PackageVersion Include =" Azure.Search.Documents" Version =" 11.6.0" />
2020 <PackageVersion Include =" Handlebars.Net.Helpers" Version =" 2.4.6" />
3434 <PackageVersion Include =" Microsoft.CodeAnalysis.CSharp" Version =" 4.3.0" />
3535 <PackageVersion Include =" Microsoft.Bcl.TimeProvider" Version =" 8.0.1" />
3636 <PackageVersion Include =" Microsoft.Extensions.Logging.Debug" Version =" 8.0.0" />
37- <PackageVersion Include =" Microsoft.Identity.Client" Version =" 4.65.0 " />
37+ <PackageVersion Include =" Microsoft.Identity.Client" Version =" 4.66.1 " />
3838 <PackageVersion Include =" Microsoft.ML.OnnxRuntime" Version =" 1.19.2" />
3939 <PackageVersion Include =" FastBertTokenizer" Version =" 1.0.28" />
4040 <PackageVersion Include =" PdfPig" Version =" 0.1.9" />
Original file line number Diff line number Diff line change @@ -334,10 +334,14 @@ internal async IAsyncEnumerable<OpenAIStreamingChatMessageContent> GetStreamingC
334334 continue ;
335335 }
336336
337+ string streamingArguments = ( functionCallUpdate . FunctionArgumentsUpdate ? . ToMemory ( ) . IsEmpty ?? true )
338+ ? string . Empty
339+ : functionCallUpdate . FunctionArgumentsUpdate . ToString ( ) ;
340+
337341 openAIStreamingChatMessageContent . Items . Add ( new StreamingFunctionCallUpdateContent (
338342 callId : functionCallUpdate . ToolCallId ,
339343 name : functionCallUpdate . FunctionName ,
340- arguments : functionCallUpdate . FunctionArgumentsUpdate ? . ToString ( ) ,
344+ arguments : streamingArguments ,
341345 functionCallIndex : functionCallUpdate . Index ) ) ;
342346 }
343347 }
You can’t perform that action at this time.
0 commit comments