Documentation
¶
Overview ¶
Command synccaps enriches the hand-maintained conf/providers templates with reasoning capabilities (thinking_mode + reasoning_efforts) derived from the LiteLLM model registry. It runs at BUILD time (locally or in CI), never in the server: the runtime reads capabilities straight from the templates.
First-party providers whose model ids are canonical enough for a safe litellm match; reseller shells are pruned from the registry before matching, and a canonical miss leaves the template untouched (legacy toggle fallback) rather than borrowing a sibling entry's capabilities.
Usage:
go run ./cmd/synccaps [-litellm URL|path] [-dir conf/providers] [-check]
Click to show internal directories.
Click to hide internal directories.