We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eb591e commit 3499780Copy full SHA for 3499780
libs/oci/tests/integration_tests/chat_models/test_openai_models.py
@@ -147,8 +147,8 @@ def test_openai_streaming(openai_config: dict):
147
148
chunks = []
149
for chunk in chat.stream([HumanMessage(content="Say hello")]):
150
- assert isinstance(chunk, AIMessage), "Chunk should be AIMessage" # type: ignore[arg-type]
151
- chunks.append(chunk)
+ assert isinstance(chunk, AIMessage), "Chunk should be AIMessage" # type: ignore[unreachable]
+ chunks.append(chunk) # type: ignore[unreachable]
152
153
# Verify we got at least one chunk (streaming worked)
154
assert len(chunks) > 0, "Should receive at least one chunk"
0 commit comments