Still retrieve the file_response in openai_vector_store_mixin

This is needed to get the filename of our file, even though we don't
need its actual contents here anymore.

Signed-off-by: Ben Browning <bbrownin@redhat.com>
This commit is contained in:
Ben Browning 2025-06-20 19:02:07 -04:00
parent 8bf1d91d38
commit 0f7d487dca

View file

@ -543,6 +543,7 @@ class OpenAIVectorStoreMixin(ABC):
chunk_overlap_tokens = 400
try:
file_response = await self.files_api.openai_retrieve_file(file_id)
tool_result = await self.tool_runtime_api.invoke_tool(
"convert_file_to_text",
{"file_id": file_id},