Repository navigation
fix(telemetry): report remaining public model names instead of custom - #1092
Merged
Merged
Conversation
Public models sent by OpenCode, fx, Cursor, Antigravity, Claude, Grok, and community ACP agents still fell back to "custom" in PostHog because the allowlist only covered a handful of families and restricted Pi's catalog lookup to the built-in Pi driver. - Reuse the pinned public model catalog across all providers (keeping Azure deployments custom outside built-in Pi and skipping plain single-word bare IDs) and add public vendor and gateway prefixes. - Add strict patterns for DeepSeek, GLM, Qwen, Kimi, MiniMax, Mistral/Devstral/Codestral, Llama, Gemma, gpt-oss, Antigravity variants (gpt-6-1, gemini-pro-agent, -xhigh, -extra), Grok build slugs, Cursor composer and Claude variants, and Claude aliases (normalizing versioned shorthands like opus-4.6 to claude-opus-4-6). - Strip safe option suffixes ([1m], known Cursor bracket traits, :free, :batch) while keeping unknown suffixes, private gateways, Azure deployments, and arbitrary numeric tails redacted as custom. - Update docs/telemetry.md and unit tests to match.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Public models sent by OpenCode, fx, Cursor, Antigravity, Claude, Grok, and community ACP agents still fell back to
customin PostHog because the allowlist only covered a handful of model families and restricted the pinned public catalog to the built-in Pi driver.Fix
azure/*outside built-in Pi and plain single-word bare IDs) and add public vendor and gateway prefixes (alibaba,deepseek,minimax,mistral,moonshotai,opencode-go,qwen,spacexai,x-ai,zai, and related prefixes).gpt-oss-*, Antigravity variants (gpt-6-1,gemini-pro-agent,-xhigh,-extra), Grokgrok-build-*, Cursorcomposer-*-fastand version-first Claude slugs, and Claude aliases (normalizing versioned shorthands likeopus-4.6toclaude-opus-4-6).[1m], known Cursor bracket traits like[reasoning=high],:free,:batch) while keeping private gateways, Azure deployments, unknown suffixes, and arbitrary numeric tails redacted ascustom.docs/telemetry.mdandAnalyticsProperties.test.ts.