wire llms, ui tweaks

This commit is contained in:
2026-04-12 11:32:36 -03:00
parent 4de44baf98
commit 0f122fa8f7
22 changed files with 960 additions and 203 deletions

View File

@@ -194,9 +194,15 @@ class TestPassengerServer:
"gate": "H14",
}
})
text = _parse_result(result)
data = _parse_result(result)
# Response is JSON with text + provider
if isinstance(data, dict):
assert "text" in data
assert "provider" in data
text = data["text"]
else:
text = str(data)
assert "UA432" in text
assert "DELAYED" in text or "delayed" in text
@pytest.mark.asyncio
async def test_list_prompts(self):