community: fixed critical bugs at Writer provider (#27879)

This commit is contained in:
Yan
2024-11-25 20:03:37 +03:00
committed by GitHub
parent 6ed2d387bb
commit c60695a1c7
8 changed files with 1205 additions and 542 deletions

View File

@@ -1,10 +0,0 @@
"""Test Writer API wrapper."""
from langchain_community.llms.writer import Writer
def test_writer_call() -> None:
"""Test valid call to Writer."""
llm = Writer()
output = llm.invoke("Say foo:")
assert isinstance(output, str)