mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
A provider slot is a job the host does itself and lets an add-on do in its place. The host owns the slot, its gates and a built-in provider; the person picks one provider. Add the closed list of slots as data (provider-slots.json) with a descriptor per slot: the choice a person has, the built-in provider, the roles a provider can fill, the contributions the slot activates and the facts a provider may declare. Add the optional manifest key capabilities.provides, validated against the descriptor: the slot and its version, the tools of each role (declared, of the right kind, not page-only, not shadowing, one role each), typed properties, and the context file scopes. The manifest stays at api 2. Carry the declaration through the apps list and the tool adapter so the host can list the add-ons that provide a slot. Assisted-by: Claude:claude-sonnet-5-5 go Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DjrQyk8ovFXvy5zrjHX1BD