We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1005a5e commit 42c9350Copy full SHA for 42c9350
1 file changed
test/components/generators/chat/test_openai_async.py
@@ -337,7 +337,7 @@ async def callback(chunk: StreamingChunk):
337
338
# check that the completion_start_time is set and valid ISO format
339
assert "completion_start_time" in message.meta
340
- assert datetime.fromisoformat(message.meta["completion_start_time"]) < datetime.now()
+ assert datetime.fromisoformat(message.meta["completion_start_time"]) <= datetime.now()
341
342
assert isinstance(message.meta["usage"], dict)
343
assert message.meta["usage"]["prompt_tokens"] > 0
0 commit comments