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 42ee7a2 commit 40cc6daCopy full SHA for 40cc6da
tests/pytest/test_chat.py
@@ -1,5 +1,6 @@
1
from __future__ import annotations
2
3
+import sys
4
from datetime import datetime
5
from typing import Union, cast, get_args, get_origin
6
@@ -385,8 +386,6 @@ def test_as_google_message():
385
386
GenerativeModel,
387
)
388
- from shiny.ui._chat_provider_types import as_google_message
389
-
390
generate_content = GenerativeModel.generate_content # type: ignore
391
392
assert generate_content.__annotations__["contents"] == "content_types.ContentsType"
0 commit comments