Skip to content

Commit 520cd2f

Browse files
committed
fix async test
1 parent 588a17b commit 520cd2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/tests/astra-assistants/test_streaming_run_retrieval_async_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ async def on_run_step_done(self, run_step) -> None:
8686
for tool_call in run_step.step_details.tool_calls:
8787
matches = tool_call.file_search
8888
print(tool_call.file_search)
89-
assert len(matches) > 0, "No matches found"
89+
assert len(matches.chunks) > 0, "No matches found"
9090

9191
@override
9292
async def on_text_created(self, text) -> None:

0 commit comments

Comments
 (0)