Files
LocalAI/core/cli
Ettore Di Giacinto 17791fb741 feat(distributed): add --expose-node-header opt-in for X-LocalAI-Node
Introduce ApplicationConfig.ExposeNodeHeader plus the matching
--expose-node-header / LOCALAI_EXPOSE_NODE_HEADER CLI flag. Default off
because the node ID identifies internal cluster topology and should not
be advertised on a public endpoint; operators opt in for debugging,
observability and load-balancer attribution. The wiring lands first as a
no-op so the follow-up handler patch has a config field to read.

Assisted-by: Claude:claude-opus-4-7[1m]
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
2026-05-24 20:13:46 +00:00
..
2026-03-30 00:47:27 +02:00