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 fbf91ee commit d9ff974Copy full SHA for d9ff974
tests/pytest/test_chat.py
@@ -478,6 +478,7 @@ def test_as_ollama_message():
478
479
# ollama 0.4.2 added Callable to the type hints, but pyright complains about
480
# missing arguments to the Callable type. We'll ignore this for now.
481
+ # https://github.com/ollama/ollama-python/commit/b50a65b
482
chat = ollama.chat # type: ignore
483
484
assert "ollama._types.Message" in str(chat.__annotations__["messages"])
0 commit comments