← Về thư mục
tests/test_model_catalog.py
- test_supported_wires_match_the_shipped_transport_dispatch · function · L21-L24 — def test_supported_wires_match_the_shipped_transport_dispatch()
- test_custom_provider_registration_validates_and_routes · function · L27-L80 — def test_custom_provider_registration_validates_and_routes(monkeypatch)
- post_json · function · L30-L35 — def post_json(url, payload, headers, timeout)
- test_hyphenated_provider_uses_shell_safe_environment_prefix · function · L83-L96 — def test_hyphenated_provider_uses_shell_safe_environment_prefix(monkeypatch)
- test_custom_provider_registration_rejects_invalid_metadata · function · L110-L120 — def test_custom_provider_registration_rejects_invalid_metadata(kwargs, message)
- test_model_presets_are_extensible_and_builtins_are_immutable · function · L123-L142 — def test_model_presets_are_extensible_and_builtins_are_immutable()
- _service · function · L145-L158 — def _service(tmp_path, *, provider="ark")
- test_profile_service_starts_without_default_endpoints · function · L161-L170 — def test_profile_service_starts_without_default_endpoints(tmp_path)
- test_profile_service_removes_previously_seeded_endpoints_once · function · L173-L210 — def test_profile_service_removes_previously_seeded_endpoints_once(tmp_path)
- test_header_selector_hides_endpoints_the_user_never_configured · function · L213-L243 — def test_header_selector_hides_endpoints_the_user_never_configured(tmp_path): # Removing the seeded profiles was only half the job: the header selector # used to list every built-in provider's default model as well, so an # endpoint the user never configured stayed pickable and failed at send # time for want of a key.
- test_profile_service_crud_activation_and_header_projection · function · L246-L287 — def test_profile_service_crud_activation_and_header_projection(tmp_path)
- test_provider_alias_migration_is_idempotent · function · L290-L319 — def test_provider_alias_migration_is_idempotent(tmp_path)
- test_the_default_model_survives_a_daemon_restart · function · L322-L369 — def test_the_default_model_survives_a_daemon_restart(tmp_path)
- _Hub · class · L342-L347 — class _Hub
- emitter · method · L343-L344 — def emitter(self, root_frame_id)
- broadcast · method · L346-L347 — def broadcast(self, root_frame_id, event)