llama-stack-mirror/tests/unit/server
Derek Higgins 60ac37f3a9 fix: remove_disabled_providers filtering models with None fields
Fixed bug where models with No provider_model_id were incorrectly
filtered from the startup config display. The function was checking
multiple fields when it should only filter items with explicitly
disabled provider_id.

Changes:
o Modified remove_disabled_providers to only check provider_id field
o Changed condition from checking multiple fields with None to only
  checking provider_id for "__disabled__", None or empty string
o Added comprehensive unit tests

Closes: #4131

Signed-off-by: Derek Higgins <derekh@redhat.com>
2025-11-13 09:55:06 +00:00
..
test_access_control.py fix(models)!: always prefix models with provider_id when registering (#3822) 2025-10-16 06:47:39 -07:00
test_auth.py test: suppress expected error logs in SSE test (#3886) 2025-10-22 14:34:32 -07:00
test_auth_github.py test: suppress expected error logs in SSE test (#3886) 2025-10-22 14:34:32 -07:00
test_cors.py feat: Add CORS configuration support for server (#3201) 2025-08-21 14:23:27 -07:00
test_quota.py test: suppress expected error logs in SSE test (#3886) 2025-10-22 14:34:32 -07:00
test_replace_env_vars.py fix(env): env var replacement preserve types (#3270) 2025-08-28 17:07:18 +02:00
test_resolver.py feat(stores)!: use backend storage references instead of configs (#3697) 2025-10-20 13:20:09 -07:00
test_server.py fix: remove_disabled_providers filtering models with None fields 2025-11-13 09:55:06 +00:00
test_sse.py test: suppress expected error logs in SSE test (#3886) 2025-10-22 14:34:32 -07:00