Unverified Commit e9d32d07 authored by Cyrus Leung's avatar Cyrus Leung Committed by GitHub
Browse files

[CI/Build] [1/3] Reorganize entrypoints tests (#5526)

parent 2061f0b8
This diff is collapsed.
This diff is collapsed.
from pathlib import Path from pathlib import Path
from typing import Dict from typing import Dict, List
import openai import openai
import pytest import pytest
...@@ -216,7 +216,7 @@ async def test_chat_streaming_image(client: openai.AsyncOpenAI, ...@@ -216,7 +216,7 @@ async def test_chat_streaming_image(client: openai.AsyncOpenAI,
temperature=0.0, temperature=0.0,
stream=True, stream=True,
) )
chunks = [] chunks: List[str] = []
finish_reason_count = 0 finish_reason_count = 0
async for chunk in stream: async for chunk in stream:
delta = chunk.choices[0].delta delta = chunk.choices[0].delta
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment