Documentation
¶
Overview ¶
Command capabilitygen turns models.dev's catalogue into a capability matrix for one provider adapter.
It is a nested module rather than a package of the core, so that an HTTP client and a JSON catalogue never reach the core's dependency graph. Nothing at runtime calls models.dev: this runs in CI on release, and by hand, and its output is committed to the adapter it describes. See spec 0020 D4 and D10.
capabilitygen -provider bedrock -package chatbedrock -out models_generated.go
The matrix travels with the backend, because a capability matrix describes a backend rather than the core.
Click to show internal directories.
Click to hide internal directories.