4791 Commits

Author SHA1 Message Date
Louis
1a0f643d87
refactor: clean up repo (#5165)
* chore: remove legacy themes

* refactor: clean up dependencies

* chore: remove cuda 11 dependency - fix linux LD_LIBRARY_PATH

* fix: load models issue on Linux

# Conflicts:
#	src-tauri/src/core/setup.rs

* chore: do not download cuda 11 by default

* chore: remove cuda 11 from installer

* fix: cuda lookup on Linux
2025-06-02 19:03:06 +07:00
Thien Tran
8509479dfb
fix: Fix hwinfo bugs (#5164)
* add libnvidia-ml.so.1 fallback for linux

* fix AMD memory usage on Linux

* add os_type. use std::env::consts::ARCH directly
2025-06-02 17:39:10 +08:00
Louis
ae6d343d19
fix: create new provider should not have previous settings (#5166) 2025-06-02 15:56:11 +07:00
Louis
302ebc0a72
chore: remove build:joi step 2025-06-02 15:35:34 +07:00
Louis
38c9cf9a68
refactor: deprecate legacy packages and clean up build scripts (#5162)
* refactor: deprecate legacy packages and clean up build scripts

* chore: remove joi publish workflow

* chore: core publish run on dispatch only

* chore: correct version bump on web package

* chore: make dev for tauri target
2025-06-02 14:29:17 +07:00
Faisal Amir
5d070f6a17
fix/solid background for linux and web (#5163) 2025-06-02 14:25:14 +07:00
Faisal Amir
5c60d2887a
fix: race condition get Assistant (#5161) 2025-06-02 14:17:55 +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
573e667c34
feat: migrate legacy local storage data to new app (#5156)
* feat: migrate legacy local storage data to new app

* chore: refactor localstorage db read

* chore: clean up

* chore: migrate api key setting

* chore: apply proxy configs

* chore: fix key
2025-06-01 22:57:01 +07:00
Louis
646ba86de8
fix: extension settings are not retained in new sessions (#5154) 2025-05-31 21:28:08 +07:00
Nguyen Ngoc Minh
9265a56f04
ci: deprecate electron build (#5149)
* ci: deprecate electron build
2025-05-30 19:43:06 +07:00
Faisal Amir
120de819e7
fix: avoid floating content when render table markdown (#5148) 2025-05-30 17:33:38 +07:00
Faisal Amir
81a7248a93
enhancement: querry search hub include list of model (#5147) 2025-05-30 15:09:43 +07:00
Faisal Amir
cde10a662c
chore: render markdown on user message (#5146) 2025-05-30 15:09:28 +07:00
Faisal Amir
3022fdebc2
fix: update model id dropdown without refresh (#5144) 2025-05-30 13:05:06 +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
27c2a360f0
fix: reverse setting local provider (#5140)
* fix: reverse setting local provider

* fix conflict
2025-05-30 00:00:07 +07:00
Faisal Amir
e9c9205544
fix/content overflow when long text without space (#5142) 2025-05-29 23:46:09 +07:00
Louis
2b7b9c2dc6
chore: add timeout to tool use requests (#5143) 2025-05-29 23:45:55 +07:00
Faisal Amir
ec7d0c6abf
fix: tool call block spacing (#5139) 2025-05-29 22:28:11 +07:00
Faisal Amir
8046f95b67
feat: add refresh button list model remote provider (#5136) 2025-05-29 22:06:25 +07:00
Faisal Amir
dc1071fff8
chore: hide reaveal password (#5138) 2025-05-29 22:04:37 +07:00
Louis
a1111033d9
chore: allow users to setting model offload (#5134)
* chore: allow users to setting model offload

* chore: apply model.yaml configurations to default model settings

* chore: fallback default value
2025-05-29 13:29:32 +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
4672754b81
chore: persist assistants settings (#5127)
* chore: assistant settings

* chore: fix model sources issue after deleted models

* chore: assistants as files

* chore: clean up
2025-05-28 19:33:13 +07:00
Thien Tran
ab3f027d02
fix: support delete file for fs.rm() (#5117) 2025-05-28 09:28:13 +08: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
Louis
0b8c7bae69
fix: correct app data folder name (#5115)
* fix: correct app data folder name

* chore: clean up
2025-05-27 15:58:25 +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
Thien Tran
bbfc754fa4
chore: update make clean (#5112) 2025-05-27 13:33:24 +08:00
David
db731efb62
Merge pull request #5107 from menloresearch/fix/janhq-url-correction
Fix: janhq url correction
2025-05-27 10:15:20 +07:00
Faisal Amir
e08b98ec6a
fix: overflow content codeblock (#5110) 2025-05-27 10:07:36 +07:00
Thien Tran
6415be9c74
feat: Support download resume (#5111)
* initial support

* append instead of replace extension
2025-05-27 10:46:49 +08: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
David
eb97e4ef26 fix: correct jan repo url 2025-05-26 16:52:32 +07:00
Louis
3aaa6078c0
chore: sync dev to release/v0.5.18 (#5106)
* chore: Jan's code is now under the Apache license (#5042)

* make the model selector popup responsive and wider for bigger screens (#5025)

* make the model selector popup responsive and wider for bigger screens

* fix linting issue

* use vscode config files to recommend prettier plugin and use it to auto format on save

---------

Co-authored-by: Ethan Garber <ethancgarber@gmail.com>

* chore: update Jan change logs v0.5.17

chore: update Jan change logs v0.5.17

* Update README.md (#5072)

Updated license to Apache 2.0

---------

Co-authored-by: ethanova <ethanova@users.noreply.github.com>
Co-authored-by: Ethan Garber <ethancgarber@gmail.com>
Co-authored-by: David <david@menlo.ai>
Co-authored-by: Emre Can Kartal <159995642+eckartal@users.noreply.github.com>
2025-05-26 16:02:30 +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
Louis
b8de48c9e9
fix: enhance tool use and model provider not persisted issues (#5094)
* chore: enhance tool use loop

* fix: create new custom provider is not saved

* chore: bump llama.cpp b5488

* chore: normalize reasoning assistant response

* chore: fix tool call parse in stream mode

* fix: give tool call default generated id

* fix: system instruction should be on top of the history

* chore: allow users to add parameters
2025-05-26 15:12:55 +07:00
Nguyen Ngoc Minh
2744e787d1
fix: ci remove pr review trigger (#5105)
* fix: remove pull_request_review trigger to avoid redundant builds

* chore: comment out pr-build-url job in nightly workflow
2025-05-26 15:04:43 +07:00
Thien Tran
71bb7ce1e9
fix: fileStat returned object in JS (#5102)
* fix fileStat returned value in JS

* match type from JS
2025-05-26 14:40:03 +08:00