2ffdf08376
Both providers share the same models.dev ID (kimi-for-coding) but have different API keys (KIMI_API_KEY vs KIMI_CN_API_KEY) and base URLs (moonshot.ai vs moonshot.cn). The /model picker was only showing one because the dedup key was mdev_id alone. Changes in list_authenticated_providers(): - Resolve canonical provider profile name and skip alias hermes_ids (e.g. "kimi", "moonshot" → "kimi-coding") so only canonical entries are processed. - Deduplicate by slug (hermes_id) instead of mdev_id so distinct profiles sharing a models.dev ID (kimi-coding vs kimi-coding-cn) both appear. - Prefer PROVIDER_REGISTRY name for the display label so the CN variant shows "Kimi / Moonshot (China)" instead of the generic models.dev name. Adds test coverage for all three key scenarios: - Only KIMI_CN_API_KEY set → only kimi-coding-cn appears - Only KIMI_API_KEY set → only kimi-coding appears - Both keys set → both providers appear, aliases not duplicated Closes #10526