jan/src-tauri
Akarshan 7762cea10a
feat: Distinguish and preserve embedding model sessions
This commit introduces a new field, `is_embedding`, to the `SessionInfo` structure to clearly mark sessions running dedicated embedding models.

Key changes:
- Adds `is_embedding` to the `SessionInfo` interface in `AIEngine.ts` and the Rust backend.
- Updates the `loadLlamaModel` command signatures to pass this new flag.
- Modifies the llama.cpp extension's **auto-unload logic** to explicitly **filter out** and **not unload** any currently loaded embedding models when a new text generation model is loaded. This is a critical performance fix to prevent the embedding model (e.g., used for RAG) from being repeatedly reloaded.

Also includes minor code style cleanup/reformatting in `jan-provider-web/provider.ts` for improved readability.
2025-10-08 20:03:35 +05:30
..
2025-09-19 12:53:39 +05:30
2025-09-22 20:59:35 +07:00
2025-05-15 17:10:00 +07:00
2025-05-15 17:09:58 +07:00
2025-09-26 09:42:00 +07:00
2025-10-07 19:33:49 +07:00
2025-10-07 19:33:49 +07:00