Repository navigation
feat: capabilities in /v1/models, replacing features - #12
Merged
Merged
Conversation
/v1/models now includes each model's capabilities, the operator's record from Metering, unchanged: models.dev field names such as modalities (image input), tool_call, structured_output, reasoning and reasoning_options (effort levels). A missing field means not stated, and an empty record is not published. features stays, now derived from capabilities, so existing clients see the same values. Gateway's model no longer carries the five capability flags. With a Metering that does not send capabilities yet, they are rebuilt from the flags it still sends. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
/v1/models no longer has a features list. What it said is in capabilities (streaming, tool_call, parallel_tool_calls, structured_output, reasoning), kind (router) and proof_mode (Tinfoil attested transport). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
GET /v1/modelsdescribes each model's capabilities in one field,capabilities: what the operator states the model accepts, published exactly as stored. The field names follow models.dev:capabilitiesfield.featuresis removed. What it said is now incapabilities,kind(router) andproof_mode(Tinfoil attested transport).Compatibility
featuresstop seeing it. The Nexus website moves tocapabilitiesin dappnode/dappnode-nexus#145.Tests
featureslist is published;/v1/modelshascapabilitiesand none hasfeatures. A model given image input and effort levels in the database shows them unchanged.🤖 Generated with Claude Code