Repository navigation
feat(desktop): Implement local LLM setup - #803
Merged
Merged
Conversation
…tion - Enables local AI models and enhances the settings experience. - Updates core dependencies to reflect local LLM integration. - General UX improvements across onboarding and settings dialogs. - Improves error handling for local LLM binary setup. BREAKING CHANGE: The application now defaults to using the local Whisper/System STT/TTS providers, and the `max_tool_calling_round_trips` default has increased from 10 to 50.
There was a problem hiding this comment.
🟡 Changes recommended
Active issues remain: a Japanese translation typo and a failed-download state that prevents retrying setup from the quick dialog.
2 open issues
What changed in this PR
This pull request adds a guided first-run setup flow for Askimo’s built-in local LLM, including hardware validation, engine/model downloads, Hugging Face recommendations, and automatic provider configuration.
Changes:
- Added local LLM capability checks, binary/model setup, and starter model recommendations.
- Added quick setup and provider-selection flows for local AI.
- Updated onboarding, configuration defaults, shared dialog behavior, and localized strings.
| File | Description |
|---|---|
shared-jvm/src/main/kotlin/io/askimo/core/util/HttpUtils.kt |
Adds redirect-aware HTTP HEAD content-length resolution. |
shared-jvm/src/main/kotlin/io/askimo/core/providers/llama/LlamaServerProcessManager.kt |
Simplifies Path usage for local model handling. |
shared-jvm/src/main/kotlin/io/askimo/core/providers/llama/LlamaCapabilityChecker.kt |
Adds RAM, CPU, and disk capability checks. |
shared-jvm/src/main/kotlin/io/askimo/core/providers/llama/HuggingFaceGgufBrowser.kt |
Adds ranked starter model discovery and size resolution. |
shared-jvm/src/main/kotlin/io/askimo/core/config/AppConfig.kt |
Updates indexing, model, voice, and tool-calling defaults. |
desktop/src/main/kotlin/io/askimo/desktop/settings/LocalLlmSettingsSection.kt |
Adds hardware gating and automatic local-provider setup. |
desktop/src/main/kotlin/io/askimo/desktop/settings/LocalLlmQuickSetupDialog.kt |
Implements the guided local AI setup dialog. |
desktop/src/main/kotlin/io/askimo/desktop/Main.kt |
Adds local AI setup choices to the provider-required dialog. |
desktop-shared/src/main/resources/i18n/messages.properties |
Adds English local AI setup strings and removes obsolete strings. |
desktop-shared/src/main/resources/i18n/messages_zh_TW.properties |
Adds Traditional Chinese local AI setup strings. |
desktop-shared/src/main/resources/i18n/messages_zh_CN.properties |
Adds Simplified Chinese local AI setup strings. |
desktop-shared/src/main/resources/i18n/messages_vi_VN.properties |
Adds Vietnamese local AI setup strings. |
desktop-shared/src/main/resources/i18n/messages_pt_BR.properties |
Adds Brazilian Portuguese local AI setup strings. |
desktop-shared/src/main/resources/i18n/messages_ko_KR.properties |
Adds Korean local AI setup strings. |
desktop-shared/src/main/resources/i18n/messages_ja_JP.properties |
Adds Japanese local AI setup strings. |
desktop-shared/src/main/resources/i18n/messages_fr.properties |
Adds French local AI setup strings. |
desktop-shared/src/main/resources/i18n/messages_es.properties |
Adds Spanish local AI setup strings. |
desktop-shared/src/main/resources/i18n/messages_de.properties |
Adds German local AI setup strings. |
desktop-shared/src/main/kotlin/io/askimo/ui/onboarding/OnboardingWizardDialog.kt |
Simplifies onboarding and updates feature-area defaults. |
desktop-shared/src/main/kotlin/io/askimo/ui/common/theme/AppComponents.kt |
Updates shared dialog dismissal behavior. |
cli/src/test/kotlin/io/askimo/core/config/AppConfigTest.kt |
Updates the expected tool-calling round-trip default. |
Review effort: Lite
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
max_tool_calling_round_tripsdefault has increased from 10 to 50.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