Faisal Amir
a88da16edc
chore: hide some model capabilities ( #5189 )
...
* chore: hide some model capabilities
* chore: update model setting description
* chore: disable vision and embedding and add tooltip
---------
Co-authored-by: Louis <louis@jan.ai>
2025-06-04 12:11:16 +07:00
David
b674a521f2
fix: validate trusted hosts for local api server
2025-06-04 11:50:51 +07:00
Louis
171b1e8c60
fix: handle tool availability states ( #5183 )
...
* fix: handle tool availability states
* Update web-app/src/hooks/useToolAvailable.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update web-app/src/hooks/useToolAvailable.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update web-app/src/hooks/useToolAvailable.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix: hub refresh
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-04 00:17:39 +07:00
Nguyen Ngoc Minh
9c825956e8
ci: tauri build macos ( #5184 )
...
* ci: tauri build macos
* chore: comment out electron builder .zip.sig file to s3
* chore: enable auto updater tauri
* chore: comment out s3 upload mac.zip.sig
* chore: handle remind me later state
* chore: add dll file windows
* chore: add debug step verbose
* ci: add msvcp140_codecvt_ids.dll bundle windows
* chore: update download progress
* chore: update app updater UI
* chore: remove log
* chore: reload app after download app
* chore: reset remindmelater
2025-06-03 23:00:04 +07:00
Faisal Amir
135e75b812
fix: avatar assistants render ( #5181 )
...
* fix: avatar assistants render
* fix: delete assistant
* Update web-app/src/containers/dialogs/AddEditAssistant.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>
2025-06-03 20:00:25 +07:00
Faisal Amir
aeba895250
fix: app updater state ( #5171 )
2025-06-02 22:25:38 +07:00
Faisal Amir
d56686fd21
chore: check app update via general setting ( #5167 )
2025-06-02 20:33:48 +07:00
Louis
ae6d343d19
fix: create new provider should not have previous settings ( #5166 )
2025-06-02 15:56:11 +07:00
Faisal Amir
5d070f6a17
fix/solid background for linux and web ( #5163 )
2025-06-02 14:25:14 +07:00
Faisal Amir
5dd4b62bcc
fix: tooltip tools chat input
2025-06-02 12:31:58 +07:00
Faisal Amir
fa9d81e3b2
enhancement/tmp-hide-attachment-icon ( #5160 )
2025-06-02 10:02:03 +07:00
Faisal Amir
101e692e50
fix: remove capitalize class from provider name ( #5158 )
2025-06-02 09:37:31 +07:00
Faisal Amir
b98c31b184
enhancement: open folder log and change data folder dialog confirm ( #5159 )
...
* enhancement: ux change data folder with confirmation and reveal in finder logs
* chore: update button open logs local api server
* Update web-app/src/components/ui/button.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore: handle error when change location data folder failed
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-02 08:54:16 +07:00
Faisal Amir
057accfb96
enhancement: ux tool call permission dialog and state active ( #5157 )
...
* enhancement: mcp toold dialog approval
* enhancement: update mcp tool enable or disable
* chore: add toggle mcl global permission
2025-06-01 23:58:20 +07:00
Louis
646ba86de8
fix: extension settings are not retained in new sessions ( #5154 )
2025-05-31 21:28:08 +07:00
Faisal Amir
cde10a662c
chore: render markdown on user message ( #5146 )
2025-05-30 15:09:28 +07:00
Faisal Amir
426dc2ab87
fix: thread list state order after dragable ( #5141 )
...
* fix: thread list state order after dragable
* fix: new chat order
* chore: revert data provider
2025-05-30 00:00:26 +07:00
Faisal Amir
e9c9205544
fix/content overflow when long text without space ( #5142 )
2025-05-29 23:46:09 +07:00
Faisal Amir
ec7d0c6abf
fix: tool call block spacing ( #5139 )
2025-05-29 22:28:11 +07:00
Faisal Amir
1b3f16b3e1
feat: start and stop model ( #5133 )
...
* feat: start and stop model
* refactor: clean up start models
---------
Co-authored-by: Louis <louis@jan.ai>
2025-05-29 13:23:12 +07:00
Faisal Amir
72d1192499
chore: add skip button joyride ( #5125 )
2025-05-28 20:10:59 +07:00
Faisal Amir
f812952044
enhancement: all platform layout ( #5119 )
...
* enhancement: conditional layout leftpanel for windows
* chore: calculate height leftpanel windows
* chore: enhance calc left panel height
* enhancement minor ui
* Update web-app/src/routes/settings/hardware.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>
2025-05-28 20:10:51 +07:00
Faisal Amir
cfcc99d75f
feat: predefined params ( #5128 )
2025-05-28 20:09:48 +07:00
Louis
eb0e21e5d6
chore: bump llama.cpp to b5509 ( #5120 )
2025-05-27 23:29:41 +07:00
Louis
26154941ca
fix: chore UI issues ( #5116 )
...
* fix: app log outputs with debug level
* fix: reasoning block still show loading indicator when stopped
* chore: fix mistral AI base url
2025-05-27 19:38:21 +07:00
Faisal Amir
2ae6c7ed92
feat: filter downloaded model on hub screen ( #5113 )
...
* feat: filter downloaded model on hub screen
* chore: custom avatar provider
* chore: alignment dropdown
2025-05-27 15:17:07 +07:00
Louis
c6ce193256
fix: remove chat message on GUI ( #5114 )
...
* fix: remove chat message on GUI
* Update web-app/src/containers/ThreadContent.tsx
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore: fix message removal sequence
* chore: add comment
* Update web-app/src/containers/ThreadContent.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>
2025-05-27 15:13:47 +07:00
Faisal Amir
e08b98ec6a
fix: overflow content codeblock ( #5110 )
2025-05-27 10:07:36 +07:00
Faisal Amir
e312913088
fix: prevent send message when empty message ( #5109 )
2025-05-27 09:33:51 +07:00
Louis
0fbc4a4664
chore: add function to model settings ( #5108 )
2025-05-26 18:53:08 +07:00
Louis
64f5703461
chore: allow users to import hf repo ( #5103 )
...
* chore: allow users to input HF repo id / url
* chore: allow users to search HuggingFace models
* chore: normalize input
* chore: normalize input from FE
* chore: clean up
* chore: clean up
* fix: conflict
* fix: model name from metada instead id
* chore: enable ryhype raw for desc card hub
* fix: broken link
* chore: remove log
---------
Co-authored-by: Faisal Amir <urmauur@gmail.com>
2025-05-26 15:13:22 +07:00
Faisal Amir
8afb962739
feat: add quick access model setting via dropdown model ( #5104 )
...
* feat: add quick access model setting via dropdown model
* Update web-app/src/containers/DropdownModelProvider.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>
2025-05-26 13:29:09 +07:00
Faisal Amir
83464b367f
chore: remove model provider from setup screen ( #5101 )
2025-05-26 12:55:34 +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
b29e579042
feat: product analytic ( #5099 )
...
* feat: product analytic
* chore: remove comment
2025-05-25 17:25:03 +07:00
Faisal Amir
484caf04aa
feat: file upload thumbnail ( #5088 )
2025-05-25 01:10:21 +07:00
Faisal Amir
0df92d8bda
fix: broken ui download count when leftpanel close ( #5089 )
2025-05-25 01:10:07 +07:00
Faisal Amir
a29152aa76
fix: text component scaling ( #5090 )
...
* fix: text component scaling
* chore: update scaling text xs to 0.75
2025-05-25 01:09:07 +07:00
Faisal Amir
3443c42947
fix: copy icon indicator when success ( #5091 )
2025-05-25 01:08:06 +07:00
Louis
125104320e
chore: handle many issues with app settings and message actions ( #5086 )
...
* chore: handle many issues with app settings and message actions
* Update web-app/src/services/mcp.ts
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-23 21:23:52 +07:00
Faisal Amir
dfe15fac32
enhancement: built-in custom emoji and show metadata message ( #5085 )
...
* enhancement: built-in custom emoji and show metadata message
* chore: seperate render avatar as component
* fix: avatar on assistant screen
2025-05-23 15:37:47 +07:00
Faisal Amir
bed0f98beb
fix: hidden date when value 0 ( #5079 )
2025-05-23 11:12:11 +07:00
Sam Hoang Van
7df7d8ffa0
feat: Implement Cortex server auto-restart and webview notification ( #5074 )
...
* feat: Implement Cortex server auto-restart and webview notification
Implements a robust auto-restart mechanism for the Cortex server (sidecar)
managed by the Tauri backend.
Key changes:
Backend (src-tauri):
- Modified `core/setup.rs` to:
- Loop sidecar spawning, attempting up to `MAX_RESTARTS` (5) times with a
`RESTART_DELAY_MS` (5 seconds) between attempts.
- Monitor the sidecar process for unexpected termination (crashes or
non-zero exit codes).
- Reset the restart attempt count to 0 in `AppState` upon a successful
server spawn.
- Emit a "cortex_max_restarts_reached" event to the webview if the
server fails to start after `MAX_RESTARTS`.
- Updated `core/state.rs` to include `cortex_restart_count: Arc<Mutex<u32>>`
in `AppState` to track restart attempts.
- Added a new Tauri command `reset_cortex_restart_count` in `core/cmd.rs`
to allow the webview (or other parts of the app) to reset this counter.
- Registered the new command and initialized the `cortex_restart_count`
in `lib.rs`.
Frontend (web-app):
- Created a new component `CortexFailureDialog.tsx` in
`src/containers/dialogs/` to:
- Listen for the "cortex_max_restarts_reached" event from Tauri.
- Display a dialog informing the user that the local AI engine (Cortex)
failed to start after multiple attempts.
- Offer options to "Contact Support" (opens jan.ai/support),
"Restart Jan" (invokes the `relaunch` Tauri command), or "Okay"
(dismisses the dialog).
- Integrated the `CortexFailureDialog` into the `RootLayout` in
`src/routes/__root.tsx` so it's globally available.
- Corrected button variants in `__root.tsx` to use `variant="default"`
with appropriate classNames for outline styling, resolving TypeScript
errors.
* refactor: Improve async handling and logging in setup_sidecar function
2025-05-22 23:09:43 +07:00
Louis
942f2f51b7
chore: send chat completion with messages history ( #5070 )
...
* chore: send chat completion with messages history
* chore: handle abort controllers
* chore: change max attempts setting
* chore: handle stop running models in system monitor screen
* Update web-app/src/services/models.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore: format time
* chore: handle stop model load action
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-22 20:13:50 +07:00
Louis
4d66eaf0a7
chore: handle local models chat with MCP ( #5065 )
...
* chore: handle local models chat with MCP
* chore: update MCP server connection status in the settings page
* chore: error handling
* chore: normalize message
* chore: update finally block
2025-05-22 16:06:55 +07:00
Faisal Amir
aba75a7d2c
fix: allow dialog triggered by tooltip ( #5066 )
2025-05-22 15:52:29 +07:00
Faisal Amir
d3c6d7cfaa
enhancement: wrap long line codeblock ( #5069 )
2025-05-22 15:52:17 +07:00
Faisal Amir
12ad61aaa8
enhancement: show assistant info on message ( #5064 )
2025-05-22 14:45:58 +07:00
Faisal Amir
dde4e97d8b
enhance: setup screen redirect to hub ( #5061 )
2025-05-22 11:55:34 +07:00
Faisal Amir
434abaaca6
chore: app updater UI ( #5054 )
...
* chore: initial app updater UI and download management enhance
* chore: revert package version
* chore: update conditional app updater
* chore: remove console
* chore: add utils isDev
* chore: close popup when user click download
* revert yarn lock
2025-05-22 11:54:06 +07:00