LocalAI/core/http/endpoints
LocalAI [bot] 1027c487a6
fix: reload model after editing YAML config (issue #8647) (#8652)
fix: reload model configuration after editing (issue #8647)

- Add *model.ModelLoader parameter to EditModelEndpoint
- Call ml.ShutdownModel() after saving config to unload the running model
- Model will be reloaded on next inference request with new settings (e.g., context_size)
- Update route registration to pass ml to EditModelEndpoint

Signed-off-by: localai-bot <localai-bot@users.noreply.github.com>
Co-authored-by: localai-bot <localai-bot@users.noreply.github.com>
2026-02-25 22:18:42 +01:00
..
anthropic chore: re-enable e2e tests, fixups anthropic API tools support (#8296) 2026-01-30 12:41:50 +01:00
elevenlabs feat(audio): set audio content type (#8416) 2026-02-05 19:14:12 +01:00
explorer feat: migrate to echo and enable cancellation of non-streaming requests (#7270) 2025-11-14 22:57:53 +01:00
jina chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
localai fix: reload model after editing YAML config (issue #8647) (#8652) 2026-02-25 22:18:42 +01:00
mcp chore(refactor): move logging to common package based on slog (#7668) 2025-12-21 19:33:13 +01:00
openai fix(realtime): Add functions to conversation history (#8616) 2026-02-21 19:03:49 +01:00
openresponses fix: merge openresponses messages (#8615) 2026-02-21 09:56:43 +01:00