Skip to content

Commit 1671431

Browse files
authored
fix: Add missing files_api parameter to MemoryToolRuntimeImpl test (#3394)
# What does this PR do? <!-- Provide a short summary of what this PR does and why. Link to relevant issues if applicable. --> The test_query_adds_vector_db_id_to_chunk_metadata test was failing because MemoryToolRuntimeImpl.__init__() now requires a files_api parameter. Fixes failing unit tests for Python 3.12 and 3.13. <!-- If resolving an issue, uncomment and update the line below --> <!-- Closes #[issue-number] --> ## Test Plan <!-- Describe the tests you ran to verify your changes with result summaries. *Provide clear instructions so the plan can be easily re-executed.* -->
1 parent 1c23aeb commit 1671431

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/rag/test_rag_query.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ async def test_query_adds_vector_db_id_to_chunk_metadata(self):
8888
config=MagicMock(),
8989
vector_io_api=MagicMock(),
9090
inference_api=MagicMock(),
91+
files_api=MagicMock(),
9192
)
9293

9394
vector_db_ids = ["db1", "db2"]

0 commit comments

Comments
 (0)