fix(rag): Final RAG stability and status fixes

- Corrected GeminiEmbeddingProvider model name to gemini-embedding-001.
- Prevented _fetch_models from overwriting active i_status (sending/done/error).
- Updated 	est_rag_engine.py to correctly patch the lazy-loaded chromadb getter.
- Adjusted RAG simulation tests to account for the new initializing... status and automatic initial indexing.
- Fixed typo in 	est_z_negative_flows.py.
This commit is contained in:
2026-05-14 23:38:23 -04:00
parent 1d12bbbe79
commit 45104af1ee
3 changed files with 15 additions and 10 deletions
+4 -2
View File
@@ -1983,9 +1983,11 @@ class AppController:
if self.current_model not in models_list and models_list:
self.current_model = models_list[0]
ai_client.set_provider(self._current_provider, self.current_model)
self.ai_status = f"models loaded: {len(models_list)}"
if self.ai_status == "fetching models...":
self.ai_status = f"models loaded: {len(models_list)}"
except Exception as e:
self.ai_status = f"model fetch error: {e}"
if self.ai_status == "fetching models...":
self.ai_status = f"model fetch error: {e}"
self.models_thread = threading.Thread(target=do_fetch, daemon=True)
self.models_thread.start()