mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-23 15:19:33 +00:00
fix test name (#22)
This commit is contained in:
parent
21b10ffb13
commit
d2fdcba29d
@ -3,8 +3,8 @@
|
|||||||
from langchain.llms.openai import OpenAI
|
from langchain.llms.openai import OpenAI
|
||||||
|
|
||||||
|
|
||||||
def test_cohere_call() -> None:
|
def test_openai_call() -> None:
|
||||||
"""Test valid call to cohere."""
|
"""Test valid call to openai."""
|
||||||
llm = OpenAI(max_tokens=10)
|
llm = OpenAI(max_tokens=10)
|
||||||
output = llm("Say foo:")
|
output = llm("Say foo:")
|
||||||
assert isinstance(output, str)
|
assert isinstance(output, str)
|
||||||
|
Loading…
Reference in New Issue
Block a user