mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 20:43:27 -05:00
Root cause: #5889 changed the comparison to `!= "true"` while the result still feeds ResourceLimit.Enable directly, so the libp2p resource manager was enabled when the variable was unset and disabled when it was set to "true" -- the opposite of the docs, and of the debug example that the same PR added. Extract newNodeConfig from newNodeOpts so the environment parsing can be covered by a test. Fixes #13031 Assisted-by: Claude:claude-fable-5-1 Signed-off-by: Vivek1898 <viveksingh27795@gmail.com>