You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/pypi.yml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -514,7 +514,7 @@ jobs:
514
514
fi
515
515
516
516
if [ -d "dist-client-python" ] && ls dist-client-python/*.whl 1>/dev/null 2>&1; then
517
-
python -c "import ogx_client; print(f'ogx_client imported successfully from {ogx_client.__file__}')"
517
+
python -c "import importlib, importlib.util; modules = ('llama_stack_client', 'ogx_client'); imported = next((importlib.import_module(name) for name in modules if importlib.util.find_spec(name)), None); assert imported is not None, 'No supported Python client module found'; print(f'{imported.__name__} imported successfully from {imported.__file__}')"
0 commit comments