Spaces:
Sleeping
Sleeping
| import pytest | |
| async def test_async_llm_adapter_stub() -> None: | |
| from app.llm.async_llm_adapter import get_async_llm_adapter | |
| adapter = get_async_llm_adapter() | |
| text = await adapter.generate_section( | |
| skeleton="X", | |
| bullets=["a", "b", "c"], | |
| snippets=[], | |
| style_profile=None, | |
| ) | |
| assert isinstance(text, str) | |
| proof = await adapter.proofread(text="hello", bullets=["a"]) | |
| assert isinstance(proof, str) | |