dsh-llm-pi-ai-live: Real-Time Model List Refresh for llm-pi-ai Routing
The DSH `dsh-llm-pi-ai` adapter displays models from a static `pi-ai` snapshot by default, so new models and hand-written lists can easily become stale. `dsh-llm-pi-ai-live` pulls model IDs from each route's live endpoint via the official `settings` seam, merges catalog metadata, and writes the results back to the configuration in append-only mode; it supports scheduled runs, startup execution, and a `refresh_model_catalog` tool, and on failure leaves the original configuration untouched. The article covers installation (`npm build` + `dsh plugin add link`), first-time validation via `dryRun`, and the main configuration options, and explains applicable use cases along with security considerations.
Read More