import os import pytest from duck_core.model_client import ModelClient @pytest.mark.asyncio async def test_llama_server_connection_live_skip_by_env(monkeypatch): if os.getenv("DUCK_SKIP_LIVE_LLM_TESTS", "1") == "1": pytest.skip("Live LLM tests skipped") result = await ModelClient().ping() assert any(item["ok"] for item in result.values())