Repository navigation
docs(model-api): sync generated references with the public catalog - #37
Merged
Merged
Conversation
- Hide models the public catalog hides (name contains 0622 or tagged protocol-ingress-only), so exp0622 and *-official duplicates are not generated; official models stay on the hand-written native pages. - Remove generated LLM/image/video/audio pages for models that are disabled or gone, plus moved-page aliases whose target no longer exists. - Keep per-call Platform API price notes in scripts/platform-api-price-notes.json and append them to descriptions. - Always include required fields in generated examples; cap SEO descriptions at 170 characters. - Regenerate from sandbase-registry main (a6f0d274); pages now match /v1/pricing/models (116 LLM, 102 image, 169 video, 30 audio, 965 API). - Replace the retired Kling 3.0 Turbo example model and update stale validator/test fixtures.
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.
Summary
0622or taggedprotocol-ingress-only, mirroringsandbase-apiserver/internal/service/model.go). exp0622 and*-officialduplicates are no longer generated; official models remain on the hand-written official-native-api pages.scripts/platform-api-price-notes.json(98 published APIs) and appends them to descriptions, since registry descriptions no longer carry them.kling-video/3.0/turboexample withkwaivgi/kling-video/v3/standard/text-to-video.Tested
/v1/pricing/models: 116 LLM, 102 image, 169 video, 30 audio, 965 API (tiktok/web/live-roomstays excluded as before).npm run validatepasses; generator tests 27/27 (two were already failing on main and are fixed here).Not included
Hand-written API reference fixes from the audit (volcengine list/delete, Session inline agent/stream, rate-limit messages, /events/webhooks) will follow separately.