Hey, with the new Responses API and the announcement that the Assistants API is deprecated, we have started working some of our applications to this new Responses API.
According to the announcement, we have feature parity across these two apis, however I am not finding anything similar to the “tool_resources” from the Assistant API to the Responses API.
I managed to convert our assistants to prompt templates, and these prompt templates have their own specific tools. However, in some cases, I would like to send a file in the response api to use it in the code interpreter tool, but if I use the tools
parameter in the response, it actually overwrites all other function definition on my template.
For instance, if i create a prompt template with the following functions:
function_1, function_2 and code_interpreter
And when I call the responses API like:
```
openai.responses.create(
prompt = {“id”: xxxxx}
tools = [{"type”:”code_interpreter”, “container” : {“type”: “auto”, “file_ids”: [….]}}]
)
```
It actually ignores overwrites the definition of tools, and I don’t have access in this response for the function_1 and function_2
In Assistants API, I would fix this using the tool_resources, but I am not able to find any solution for the Responses API.
FYI : re declaring all of the tools in the opena.responses.create method is not an option.