mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-27 02:45:26 +08:00
* fix(semantic-index): stabilize embedding warmup Improve warmup job reliability and prevent raw API response body from reaching app.log. Status code alone is sufficient for diagnosing failures; stripping the response detail eliminates the risk of chat content being written to the log via OpenAI-compatible services that echo submitted input. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix(semantic-index): clear preload error after warmup retry When local model preload fails, a later warmup can successfully recreate the extractor through embedDocuments but leave modelPreloadStatus stuck on error. Mark the local model ready after a completed warmup writes chunks, and cover the retry path with a regression test. * fix(semantic-index): guard warmup model status updates Capture the model configuration used by a warmup job before it starts, and only clear local preload errors when the current local model still matches that job. Add a regression test for switching local models while an older warmup is still completing. --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>