-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codeagentsbugSomething isn't workingSomething isn't workingexperimentalAssociated with an experimental featureAssociated with an experimental feature
Description
Describe the bug
The file_search tool call works as expected in v1.24.1-alpha, as you update all SK packages to 1.29 and equivalent latest packages this feature breaks.
The last known latest versions of all packages where file_search tool calling works:

To Reproduce
Steps to reproduce the behavior:
- Setup up test with the packages listed above (this is the working state)
- Update any of the packages up 1 version
- Create an openaiassistantagent and attach a file
- Search contents within this file and the following exception is raised
System.NullReferenceException: Object reference not set to an instance of an object.
at OpenAI.Assistants.RunStepDetailsUpdate.get_FunctionName()
at Microsoft.SemanticKernel.Agents.OpenAI.Internal.AssistantThreadActions.InvokeStreamingAsync(OpenAIAssistantAgent agent, AssistantClient client, String threadId, IList`1 messages, OpenAIAssistantInvocationOptions invocationOptions, ILogger logger, Kernel kernel, KernelArguments arguments, CancellationToken cancellationToken)+MoveNext()
at Microsoft.SemanticKernel.Agents.OpenAI.Internal.AssistantThreadActions.InvokeStreamingAsync(OpenAIAssistantAgent agent, AssistantClient client, String threadId, IList`1 messages, OpenAIAssistantInvocationOptions invocationOptions, ILogger logger, Kernel kernel, KernelArguments arguments, CancellationToken cancellationToken)+MoveNext()
at Microsoft.SemanticKernel.Agents.OpenAI.Internal.AssistantThreadActions.InvokeStreamingAsync(OpenAIAssistantAgent agent, AssistantClient client, String threadId, IList`1 messages, OpenAIAssistantInvocationOptions invocationOptions, ILogger logger, Kernel kernel, KernelArguments arguments, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource<System.Boolean>.GetResult()
Notes
- These were the latest packages that work together where we could identify was the last working state of the file_search tool call.
Metadata
Metadata
Assignees
Labels
.NETIssue or Pull requests regarding .NET codeIssue or Pull requests regarding .NET codeagentsbugSomething isn't workingSomething isn't workingexperimentalAssociated with an experimental featureAssociated with an experimental feature
Type
Projects
Status
Sprint: Done