Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdumandag committed Jul 4, 2024
1 parent 7aa3cad commit 2007399
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/asyncio/test_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ async def test_prompt_custom_provider_async(async_qstash: AsyncQStash) -> None:
res = await async_qstash.chat.prompt(
model="gpt-3.5-turbo",
user="just say hello",
provider=openai(token="OPENAI_API_KEY"),
provider=openai(token=OPENAI_API_KEY), # type:ignore[arg-type]
)

assert isinstance(res, ChatCompletion)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def test_prompt_custom_provider(qstash: QStash) -> None:
res = qstash.chat.prompt(
model="gpt-3.5-turbo",
user="just say hello",
provider=openai(token="OPENAI_API_KEY"),
provider=openai(token=OPENAI_API_KEY), # type:ignore[arg-type]
)

assert isinstance(res, ChatCompletion)
Expand Down

0 comments on commit 2007399

Please sign in to comment.