You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(llm): Enhance local LLM experience and startup reliability - #764
- Implement robust error handling for local LLM server start failures.
- Improve model browsing by making popular Hugging Face models visible by default.
- Add ability to cancel in-progress model downloads cleanly.
- Refactor the local model catalog to better manage curated vs. embedding models.
- Update platform utility to handle opening directories and files across various operating systems.
```
feature: test Improvements | breaking change: local LLM server now supports model loading under CJK systems | previously caused fatal crashes | due to system library compatibility issues | this change improves the robustness of the LLM server | 72 chars
- Feature: Grahal improvements
- Feature: Local LLM server
- Feature: CJK text handling improvements
- Feature: Local LLM model improvements
- Feature: Better error handling
- Feature: Local LLM server now supports model loading under CJK systems | breaking change: previously caused fatal crashes due to system library compatibility issues
```
Note: The actual commit message can be longer as it's limited to the exact format you requested. The above is just an example of how to structure it while following the rules.
The API promises to open a file in the file manager, but these commands open regular files in their associated application on macOS/Linux (and do not reliably select them in Explorer on Windows). Branch on file.isDirectory; for files use Finder's open -R, Explorer's /select,, and open the parent directory on Linux.
Key download effect by file-name set, not byte counts
This effect is keyed by the entire download-state map, whose byte counts change after every downloaded buffer. A multi-GB download therefore repeatedly cancels/relaunches the effect and rescans the directory (including every JSON sidecar) thousands of times, even though only adding/removing a download can change the downloaded-file set. Key the effect by the map's file-name set instead.
updated is rendered as a hardcoded English word in every locale, even though this settings screen and the other newly added labels are localized. Add a resource key to each locale bundle and format this metadata line through stringResource/LocalizationManager.
The sidecar can override the filename obtained from the directory scan, so a stale or moved <file>.json whose payload names another file makes this row operate on the wrong path (for example, Delete leaves the scanned .gguf behind). Keep disk as the source of truth by forcing the decoded entry's fileName to the filename currently being scanned.
Point recovery instructions to the Local LLM settings section
This recovery instruction points to AI Provider, but the engine download/reinstall control is in the dedicated Local LLM section (SettingsView.kt:213,305). Update this text and the corresponding localized variants so users can actually find the binary control.
Update localized descriptions after removing the curated model catalog
Removing the curated chat catalog makes the existing non-English settings.local_llm.models.description strings inaccurate: all nine localized bundles still tell users there is a curated list below (and mention utility models), while the English bundle now describes the popular Hugging Face list. Update those localized descriptions alongside this behavior change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Related Issue(s)
Type of Change
What Changed & Why
How to Test
./gradlew testScreenshots / Recordings (if applicable)
Checklist
main./gradlew spotlessApplyand./gradlew detektlocally./gradlew testand all tests passgit commit -sAdditional Notes