mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-29 07:19:59 +00:00
12 lines
291 B
Python
12 lines
291 B
Python
"""Test Anyscale API wrapper."""
|
|
|
|
from langchain_community.llms.aviary import Aviary
|
|
|
|
|
|
def test_aviary_call() -> None:
|
|
"""Test valid call to Anyscale."""
|
|
llm = Aviary()
|
|
output = llm("Say bar:")
|
|
print(f"llm answer:\n{output}") # noqa: T201
|
|
assert isinstance(output, str)
|