#ResponseFileSearchToolCall never populates `results` when streaming

1 messages · Page 1 of 1 (latest)

proven oysterBOT
#

Reported by @supple ingot

Bug Report: ResponseFileSearchToolCall never populates `results` when streaming
`Steps to Reproduce`

use agents sdk. create Agent with FileSearchTool(include_search_results=True). add a file named "test.pdf" to vectors store with content " AUM of Hullaboo Partners is 12million USD". Ask Agent via Runner.run_streamed: "hey what is AUM of Hullabaloo Partners". Agent calls the file search but **does not return results in ResponseFileSearchToolCall. **

`Expected Result`

Expected ResponseFileSearchToolCall from the results to have results=[<file id of file used to generate results>]

`Actual Result`

ResponseFileSearchToolCall results=None, always, even when it is very clear that a file from the vectorstore was indeed referenced. No way anywhere to find filesearch results!!! :( This is bad because citations become impossible

`Environment`

MacOS, python 3.12, openai-agents 0.0.11

#
Additional Information

Please provide relevant details to help resolve the issue, such as:

  • ChatGPT Shared Link (if applicable).
  • Screenshots or videos demonstrating the problem.

-# ➜ Need to contact support? Visit the OpenAI Help Center.