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 typing import Dict
from typing import Dict, List
import openai
import pytest
......@@ -216,7 +216,7 @@ async def test_chat_streaming_image(client: openai.AsyncOpenAI,
temperature=0.0,
stream=True,
)
chunks = []
chunks: List[str] = []
finish_reason_count = 0
async for chunk in stream:
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