680b11503c
ModelSettings passed scopeProfile (null when following the active profile) directly to the Hermes API helpers. The helpers interpret null as "target the primary/default backend", not as "follow the active profile". This meant that when a non-default profile was active (e.g. local with LM Studio), the model picker showed the primary/default profile's providers instead — LM Studio was invisible. Fix: convert null → undefined before calling the API helpers, so profileScoped() falls back to the app-wide active profile. Added regression test verifying the helpers receive undefined (not null) when no scope override is set.