Chaiyapruek Muangsiri
38c5911460
fix: show error toast on download error
2025-08-04 20:40:17 +08:00
Louis
9c0d09c487
refactor: clean up cortex ( #6003 )
...
* refactor: clean up cortex
* chore: clean up
* refactor: clean up
2025-07-31 21:58:12 +07:00
Faisal Amir
6c15129ce8
fix: validate name assistant and improve area clickable ( #5920 )
2025-07-25 20:27:38 +07:00
Akarshan Biswas
a1af70f7a9
feat: Enhance Llama.cpp backend management with persistence ( #5886 )
...
* feat: Enhance Llama.cpp backend management with persistence
This commit introduces significant improvements to how the Llama.cpp extension manages and updates its backend installations, focusing on user preference persistence and smarter auto-updates.
Key changes include:
* **Persistent Backend Type Preference:** The extension now stores the user's preferred backend type (e.g., `cuda`, `cpu`, `metal`) in `localStorage`. This ensures that even after updates or restarts, the system attempts to use the user's previously selected backend type, if available.
* **Intelligent Auto-Update:** The auto-update mechanism has been refined to prioritize updating to the **latest version of the *currently selected backend type*** rather than always defaulting to the "best available" backend (which might change). This respects user choice while keeping the chosen backend type up-to-date.
* **Improved Initial Installation/Configuration:** For fresh installations or cases where the `version_backend` setting is invalid, the system now intelligently determines and installs the best available backend, then persists its type.
* **Refined Old Backend Cleanup:** The `removeOldBackends` function has been renamed to `removeOldBackend` and modified to specifically clean up *older versions of the currently selected backend type*, preventing the accumulation of unnecessary files while preserving other backend types the user might switch to.
* **Robust Local Storage Handling:** New private methods (`getStoredBackendType`, `setStoredBackendType`, `clearStoredBackendType`) are introduced to safely interact with `localStorage`, including error handling for potential `localStorage` access issues.
* **Version Filtering Utility:** A new utility `findLatestVersionForBackend` helps in identifying the latest available version for a specific backend type from a list of supported backends.
These changes provide a more stable, user-friendly, and maintainable backend management experience for the Llama.cpp extension.
Fixes : #5883
* fix: cortex models migration should be done once
* feat: Optimize Llama.cpp backend preference storage and UI updates
This commit refines the Llama.cpp extension's backend management by:
* **Optimizing `localStorage` Writes:** The system now only writes the backend type preference to `localStorage` if the new value is different from the currently stored one. This reduces unnecessary `localStorage` operations.
* **Ensuring UI Consistency on Initial Setup:** When a fresh installation or an invalid backend configuration is detected, the UI settings are now explicitly updated to reflect the newly determined `effectiveBackendString`, ensuring the displayed setting matches the active configuration.
These changes improve performance by reducing redundant storage operations and enhance user experience by maintaining UI synchronization with the backend state.
* Revert "fix: provider settings should be refreshed on page load (#5887 )"
This reverts commit ce6af62c7df4a7e7ea8c0896f307309d6bf38771.
* fix: add loader version backend llamacpp
* fix: wrong key name
* fix: model setting issues
* fix: virtual dom hub
* chore: cleanup
* chore: hide device ofload setting
---------
Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: Faisal Amir <urmauur@gmail.com>
2025-07-24 18:33:35 +07:00
Faisal Amir
25952f293c
✨ enhancement: auto focus always allow action from tool approval dialog and add req parameters ( #5836 )
...
* ✨ enhancement: auto focus always allow action from tool approval dialog
* chore: error handling tools parameters
* chore: update test button focus cases
2025-07-22 12:17:53 +07:00
Louis
bc4fe52f8d
fix: llama.cpp integration model load and chat experience ( #5823 )
...
* fix: stop generating should not stop running models
* fix: ensure backend ready before loading model
* fix: backend setting should not block onLoad
2025-07-21 09:29:26 +07:00
Akarshan
59ad2eb784
Merge branch 'dev' into release/v0.6.6
2025-07-18 18:29:20 +05:30
Louis
32966f9259
Merge pull request #5801 from menloresearch/release/v0.6.5
...
Sync release/0.6.5 into dev to start new development cycle
2025-07-17 22:22:32 +07:00
Louis
08fe2c27fd
fix: translations
2025-07-15 11:11:00 +07:00
Louis
b8259e7794
feat: add HF token setting
2025-07-11 00:05:52 +07:00
Bob Ros
c778e8bcac
Merge branch 'dev' into de_de-i18n
2025-07-02 15:49:59 +02:00
Bob Ros
3b7ed88180
Update web-app/src/locales/de-DE/common.json
...
change to informal
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:11:21 +02:00
Bob Ros
2fdfba208a
Update web-app/src/locales/de-DE/mcp-servers.json
...
use modern style for ß
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:09:51 +02:00
Bob Ros
224aa1b4e6
Update web-app/src/locales/de-DE/mcp-servers.json
...
fix typo
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:09:21 +02:00
Bob Ros
8a77c41519
Update web-app/src/locales/de-DE/mcp-servers.json
...
use modern style of ß
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:08:28 +02:00
Bob Ros
9c3b93a8c7
Update web-app/src/locales/de-DE/common.json
...
fix forgotten translation
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:07:21 +02:00
Bob Ros
0114d89993
Update web-app/src/locales/de-DE/common.json
...
fix forgotten translation
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:06:53 +02:00
Bob Ros
3329be5c73
Update web-app/src/locales/de-DE/common.json
...
fix forgotten translation deleteAll
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:06:24 +02:00
Bob Ros
e6f77faf06
Update web-app/src/locales/de-DE/providers.json
...
remove useless white space
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:05:46 +02:00
Bob Ros
f962c45d8e
Update web-app/src/locales/de-DE/model-errors.json
...
change 'ß' to modern German orthography
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:04:41 +02:00
Bob Ros
c187af27e7
Update web-app/src/locales/de-DE/setup.json
...
change 'ß' to modern German orthography
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:04:06 +02:00
Bob Ros
e5b392af09
Update web-app/src/locales/de-DE/tool-approval.json
...
fix typo securityNotice
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:02:42 +02:00
Bob Ros
4f940055be
Update web-app/src/locales/de-DE/settings.json
...
fix typo in serverHostDesc
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:02:00 +02:00
Bob Ros
50f7de0f2d
Update web-app/src/locales/de-DE/providers.json
...
fix incosistence insertApiKeyTitle
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:01:39 +02:00
Bob Ros
5fbde39c75
Update web-app/src/locales/de-DE/common.json
...
fix forgotten translation pickColorWindowBackground
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 03:00:00 +02:00
Bob Ros
342509d136
Update web-app/src/locales/de-DE/model-errors.json
...
fix typo increaseContextSizeDescription
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 02:59:00 +02:00
Bob Ros
c6ce78912c
Update web-app/src/locales/de-DE/hub.json
...
fix typo editTheme
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 02:58:04 +02:00
Bob Ros
90041552b9
Update web-app/src/locales/de-DE/common.json
...
fix typo in enterNameForProvider
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 02:57:36 +02:00
Bob Ros
6ec0849a1b
Update web-app/src/locales/de-DE/assistants.json
...
fix empty field value
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-28 02:56:25 +02:00
Bob Ros
bd11ce2579
add locale de-DE Germany
2025-06-28 02:10:37 +02:00
Faisal Amir
6380ad0657
🐛 fix: translation fallback ( #5554 )
...
* 🐛 fix: translation fallback
* 🧹 cleanup: remove duplicate key translation
2025-06-26 23:59:53 +07:00
Louis
7223f6fc3f
Merge pull request #5552 from menloresearch/dev
...
sync: apply latest changes into release/v0.6.4
2025-06-26 09:02:27 -07:00
Louis
74fafac5fa
fix: i18n after synced
2025-06-26 22:17:47 +07:00
Faisal Amir
9bbf9a590c
✨ enhancement: support base layout responsive UI ( #5472 )
...
* ✨ enhancement: support base layout responsive UI
* Update web-app/src/containers/LeftPanel.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update web-app/src/containers/ThreadList.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: responsive assistant screen (#5502 )
* ✨ enhancement: support base layout responsive UI
* Update web-app/src/containers/LeftPanel.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update web-app/src/containers/ThreadList.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: responsive assistant screen
* Update web-app/src/containers/dialogs/AddEditAssistant.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: sort assistant
* Update web-app/src/routes/assistant.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: responsive hub screen (#5507 )
* ✨ enhancement: support base layout responsive UI
* Update web-app/src/containers/LeftPanel.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update web-app/src/containers/ThreadList.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: responsive assistant screen
* Update web-app/src/containers/dialogs/AddEditAssistant.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: sort assistant
* Update web-app/src/routes/assistant.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* ✨ enhancement: responsive hub screen
* 🧹 cleanup: multiple key and useless for hub translation
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-26 15:01:50 +07:00
Sam Hoang Van
c32dd092d0
Enhance i18n and add missing i18n for all component ( #5314 )
...
* Refactor translation imports and update text for localization across settings and system monitor routes
- Changed translation import from 'react-i18next' to '@/i18n/react-i18next-compat' in multiple files.
- Updated various text strings to use translation keys for better localization support in:
- Local API Server settings
- MCP Servers settings
- Privacy settings
- Provider settings
- Shortcuts settings
- System Monitor
- Thread details
- Ensured consistent use of translation keys for all user-facing text.
Update web-app/src/routes/settings/appearance.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Update web-app/src/routes/settings/appearance.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Update web-app/src/locales/vn/settings.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Update web-app/src/containers/dialogs/DeleteMCPServerConfirm.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
Update web-app/src/locales/id/common.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Add Chinese (Simplified and Traditional) localization files for various components
- Created `tools.json`, `updater.json`, `assistants.json`, `chat.json`, `common.json`, `hub.json`, `logs.json`, `mcp-servers.json`, `provider.json`, `providers.json`, `settings.json`, `setup.json`, `system-monitor.json`, `tool-approval.json` in both `zh-CN` and `zh-TW` locales.
- Added translations for tool approval, updater notifications, assistant management, chat interface, common UI elements, hub interactions, logging messages, MCP server configurations, provider management, settings options, setup instructions, and system monitoring.
* Refactor localization strings for improved clarity and consistency in English, Indonesian, and Vietnamese settings files
* Fix missing key and reword
* fix pr comment
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-20 15:33:54 +07:00
Ramon Perez
3b624eb466
improved wording in UI elements ( #5323 )
2025-06-17 23:17:15 +07:00
Louis
035cc0f79c
Sync Release/v0.6.0 into dev ( #5293 )
...
* chore: enable shortcut zoom (#5261 )
* chore: enable shortcut zoom
* chore: update shortcut setting
* fix: thinking block (#5263 )
* Merge pull request #5262 from menloresearch/chore/sync-new-hub-data
chore: sync new hub data
* ✨ enhancement: model run improvement (#5268 )
* fix: mcp tool error handling
* fix: error message
* fix: trigger download from recommend model
* fix: can't scroll hub
* fix: show progress
* ✨ enhancement: prompt users to increase context size
* ✨ enhancement: rearrange action buttons for a better UX
* 🔧 chore: clean up logics
---------
Co-authored-by: Faisal Amir <urmauur@gmail.com>
* fix: glitch download from onboarding (#5269 )
* ✨ enhancement: Model sources should not be hard coded from frontend (#5270 )
* 🐛 fix: default onboarding model should use recommended quantizations (#5273 )
* 🐛 fix: default onboarding model should use recommended quantizations
* ✨ enhancement: show context shift option in provider settings
* 🔧 chore: wording
* 🔧 config: add to gitignore
* 🐛 fix: Jan-nano repo name changed (#5274 )
* 🚧 wip: disable showSpeedToken in ChatInput
* 🐛 fix: commented out the wrong import
* fix: masking value MCP env field (#5276 )
* ✨ feat: add token speed to each message that persist
* ♻️ refactor: to follow prettier convention
* 🐛 fix: exclude deleted field
* 🧹 clean: all the missed console.log
* ✨ enhancement: out of context troubleshooting (#5275 )
* ✨ enhancement: out of context troubleshooting
* 🔧 refactor: clean up
* ✨ enhancement: add setting chat width container (#5289 )
* ✨ enhancement: add setting conversation width
* ✨ enahncement: cleanup log and change improve accesibility
* ✨ enahcement: move const beta version
* 🐛 fix: optional additional_information gpu (#5291 )
* 🐛 fix: showing release notes for beta and prod (#5292 )
* 🐛 fix: showing release notes for beta and prod
* ♻️ refactor: make an utils env
* ♻️ refactor: hide MCP for production
* ♻️ refactor: simplify the boolean expression fetch release note
---------
Co-authored-by: Faisal Amir <urmauur@gmail.com>
Co-authored-by: LazyYuuki <huy2840@gmail.com>
Co-authored-by: Bui Quang Huy <34532913+LazyYuuki@users.noreply.github.com>
2025-06-16 17:27:42 +07:00
Faisal Amir
0b312f7a06
chore: translation ( #5097 )
...
* chore: translation
* Update web-app/src/locales/id/common.json
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-25 17:25:23 +07:00
Faisal Amir
852ea84cd8
epic: Jan with new UI/UX ( #4964 )
...
* chore: initial new FE setup
* chore: update namespace text-left-panel foreground variable
* chore: enable dynamic mainview color
* chore: remove greetings new chat
* chore: fix chat input style
* chore: simplify hook useAppearance
* chore: enable internationalization
* chore: prepare vn locale
* chore: keyboardshortcut layout
* chore: update keyboard shortcut exclude pathname
* chore: update state active setting route
* chore: fix update theme by system
* chore: handle dynamic primary color
* chore: fix left panel navigation active state and styled item privacy analytic
* chore: reorder general setting being a first
* chore: add function reset appearance
* chore: update scrollbar
* chore: update delete thread with dialog confirmation
* chore: update state dialog inside dropdown menu
* chore: wip thread detail or chat page
* chore: wip model dropdown
* chore: prepare model dropdown select
* chore: update model providers setting
* chore: show provider on model dropdown based isActive toogle
* chore: update layout model provider
* chore: update state active on storage
* chore: update gap of item dropdown model
* chore: update select model base on id
* chore: update edit model capabilities
* chore: add dialog to add model
* chore: update sheet for model setting
* chore: add sheet setting each model
* chore: make dynamic syntax highlight
* chore: fix menu setting appearance theme
* chore: markdown render support emoji
* chore: markdown support latex
* chore: change codeblock default theme
* chore: update ui codeblock
* chore: custom render link taget new window
* chore: fix copy button codeblock
* chore: update accent and desctructive color
* chore: setup user chat message
* chore: prepare some page settings
* chore: simple list extension and prepare mcp, local api, and hardware
* chore: mcp-serve
* chore: MCP server UI
* chore: update local api server config
* chore: adjust chat input
* chore: update local api server log
* chore: prepare hub page
* chore: remove help page
* chore: update mock
* chore: prepare http proxy setting UI
* chore: adjust local api server and title every action
* fix: chore FE package (#4962 )
* fix: update command which referred to non-existent web app
* fix: added commented out macos platform for now
* fix: remove the platform name as macos
* fix: remove unnecessary line for platform name in HeaderPage component
* fix: update dev script to specify port 3000 for Vite
* feat: model providers and chat completion
* enhancement: threads performance
* fix: thread content update
* chore: clean up threads
* fix: performance issue with streaming and state loop
* fix: streaming
* fix: react markdow
* feat: extension manager
* chore: add nodePolyfills include path
* chore: improve performance avoid unhandle rejection
* chore: update pre margin bottom
* chore: swith thread should be deafult scroll to bottom
* chore: wip scroll to bottom
* chore: add model loader
* chore: add platform utils
* feat: threads functionality
* chore: setup toaster
* chore: persist threads deletion
* fix: create thread with new message
* chore: create new thread should change route path
* chore: navigate after delet dialog thread
* chore: thread favorites and orders
* chore: dismiss deleting modal on delete
* chore: remove undefined properties
* chore: remove deprecated run step
* chore: fix delete thread
* chore: create empty thread content on started streaming
* chore: correct messages store key
* chore: stuck at generating state
* chore: preapre chat toolbar
* chore: introduce in-memory app state
* chore: update extensions migration logic
* chore: remove redundant extensions migration gate
* chore: message toolbar user and assistant
* chore: add logo gemini
* feat: remote providers with model capabilities
* chore: maintain provider settings
* chore: move speed token into chat input
* chore: temp harcoded model loader
* chore: make chat text selectable and truncate model list
* chore: update shortcut UI
* Feat/implement threads (#4977 )
* chore: add fuse.js library for enhanced search functionality
* feat: implement thread filtering with Fuse.js for improved search capabilities
* fix: update the fuseOptions
* feat: add search functionality to LeftPanel and refactor thread retrieval logic
* refactor: optimize thread filtering and improve search functionality in LeftPanel
* fix: more edits
* refactor: remove duplicate import of useAppState in StreamingContent component
* chore: update navigate after delete all thread
* chore: pass prop speedToken from new chat input
* chore: persist provider general settings
* chore: styling search left panel
* chore: cleanup margin
* chore: update size icon
* chore: improve chat input
* chore: imprve list markdown
* chore: animate border
* feat: local model provider work
* chore: persist manually added model
* chore: prepare download management ui and show version on general setting
* chore: improve pre tag
* chore: remove buton install extension and improve light theme download
* chore: add missing hardware information handler
* chore: cleanup small ui
* chore: update default provider settings
* fix: missing fs commands
* chore: correct provider models
* chore: prepare delete model
* chore: handle thinking block
* chore: fix conditional message toolbar
* chore: pophover download select none
* enhancement: add prune mode
* chore: model settings
* chore: bump engine version tauri
* chore: update style thinking
* chore: add indicator and toogle mcp server
* chore: wip hub
* chore: update model settings
* chore: mvp hub
* chore: add function rename title
* chore: update function delete message
* chore: update rename title
* chore: update model settings
* chore: persist MCP configs
* refactor: clean up utils
* chore: add tools to completion request
* chore: clean up
* chore: ignore assets
---------
Co-authored-by: Ivan Leo <ivanleomk@gmail.com>
Co-authored-by: Louis <louis@jan.ai>
2025-05-15 19:38:59 +07:00