mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 12:33:16 -05:00
Creating a binding with no agent (home-assistant, jellyfin, pikvm, github) failed with a 500. The token check for a new binding looked up the agent even when the binding had none, so the host refused it. The check now looks up an agent only when the binding has one. The token is still required and a foreign agent is still refused. A host denial (connectors.ErrForbidden) reached the client as a 500 server_error. The connector endpoints now answer 403 with a fixed text that names no part of the check. A person could have 10 bindings. Several bots plus one credential binding per service need more, so the limit is now 50, like the limit of resources and triggers. The docs and the API description say so. Assisted-by: Claude:claude-sonnet-5-5 Signed-off-by: Ettore Di Giacinto <mudler@localai.io>