We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 335297a commit 7cca40bCopy full SHA for 7cca40b
1 file changed
tests/integration/endpoints/test_query_byok_integration.py
@@ -19,6 +19,7 @@
19
from authentication.interface import AuthTuple
20
from configuration import AppConfig
21
from models.requests import QueryRequest
22
+from models.responses import QueryResponse
23
24
# ---------------------------------------------------------------------------
25
# Helpers
@@ -609,7 +610,7 @@ async def test_query_byok_inline_rag_error_is_handled_gracefully(
609
610
)
611
612
# Query should succeed despite BYOK RAG failure, but with no chunks
- assert response.response is not None
613
+ assert isinstance(response, QueryResponse)
614
assert not response.rag_chunks
615
616
0 commit comments