mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-23 20:21:03 +02:00
Fix integration tests
This commit is contained in:
parent
35ee0141f7
commit
55a5c8b546
2 changed files with 2 additions and 2 deletions
|
|
@ -127,7 +127,7 @@ class TestDocumentRagStreaming:
|
|||
# Act - Streaming
|
||||
streaming_chunks = []
|
||||
|
||||
async def collect(chunk):
|
||||
async def collect(chunk, end_of_stream):
|
||||
streaming_chunks.append(chunk)
|
||||
|
||||
streaming_result = await document_rag_streaming.query(
|
||||
|
|
|
|||
|
|
@ -138,7 +138,7 @@ class TestGraphRagStreaming:
|
|||
# Act - Streaming
|
||||
streaming_chunks = []
|
||||
|
||||
async def collect(chunk):
|
||||
async def collect(chunk, end_of_stream):
|
||||
streaming_chunks.append(chunk)
|
||||
|
||||
streaming_result = await graph_rag_streaming.query(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue