mirror of
https://github.com/NanmiCoder/cc-haha
synced 2026-07-16 13:03:31 +08:00
Only show Claude Official and ChatGPT Official model groups in the runtime-scoped ModelSelector dropdown when the corresponding OAuth session is active. This prevents users from selecting official models they cannot actually use. - Import useHahaOAuthStore and useHahaOpenAIOAuthStore into ModelSelector - Fetch OAuth status on mount - Pass login flags to buildProviderChoices to conditionally include sections - Add test case verifying hidden sections when not logged in Co-Authored-By: claude-opus-4-6 <noreply@anthropic.com>