Skip to content

Commit 3beea74

Browse files
Akhilesh NegiAkhilesh Negi
authored andcommitted
cleanups
1 parent 5835245 commit 3beea74

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

backend/app/api/routes/responses.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ class ResponsesAPIResponse(APIResponse[_APIResponse]):
7979
def get_file_search_results(response):
8080
results: list[FileResultChunk] = []
8181

82-
# If response has no output attribute or it's empty, return empty results
83-
if not hasattr(response, "output"):
84-
return results
85-
8682
for tool_call in response.output:
8783
if tool_call.type == "file_search_call":
8884
results.extend(

0 commit comments

Comments
 (0)