File size: 266 Bytes
cfd3735
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
"""Test ForefrontAI API wrapper."""

from langchain.llms.forefrontai import ForefrontAI


def test_forefrontai_call() -> None:
    """Test valid call to forefrontai."""
    llm = ForefrontAI(length=10)
    output = llm("Say foo:")
    assert isinstance(output, str)