langchain/tests/integration_tests/llms/test_modal.py
Enrico Shippole 9becdeaadf
Add Writer, Banana, Modal, StochasticAI (#1270)
Add LLM wrappers and examples for Banana, Writer, Modal, Stochastic AI

Added rigid json format for Banana and Modal
2023-02-24 06:58:58 -08:00

11 lines
221 B
Python

"""Test Modal API wrapper."""
from langchain.llms.modal import Modal
def test_modal_call() -> None:
"""Test valid call to Modal."""
llm = Modal()
output = llm("Say foo:")
assert isinstance(output, str)