Skip to content

fix(settings): hide OpenRouter ~vendor SKUs from the CN official shelf - #69

Merged
NeilJo-GY merged 1 commit into
mainfrom
feat/cn-shelf-strip-openrouter-variant
Sep 4, 2026
Merged

fix(settings): hide OpenRouter ~vendor SKUs from the CN official shelf#69
NeilJo-GY merged 1 commit into
mainfrom
feat/cn-shelf-strip-openrouter-variant

Conversation

@NeilJo-GY

Copy link
Copy Markdown
Contributor

Summary

  • Official · OpenRouter on a CN Host listed ~openai/gpt-latest and similar Claude/Gemini variants because the geo filter only matched openai/ at the start of the id.
  • Strip leading ~ (OpenRouter variant prefix) before the CN block, matching Host official_shelf_allows.

Test plan

  • Comiclaw Settings → Official · OpenRouter picker has DeepSeek / Qwen / GLM / Kimi
  • Same picker does not list gpt-latest, claude-, gemini-

Catalog rows like ~openai/gpt-latest were passing the openai/ prefix
check, so Official · OpenRouter showed GPT/Claude/Gemini on a CN Host.

Co-authored-by: Cursor <cursoragent@cursor.com>
@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
interfaze Ready Ready Preview Sep 4, 2026 7:53am UTC

@NeilJo-GY
NeilJo-GY merged commit 80bdc89 into main Sep 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant