350 Commits

Author SHA1 Message Date
Louis
dda0feb548
fix: Jan Quick Ask window capture input issues (#4758) 2025-02-28 16:50:08 +07:00
Louis
6a0fb09610
fix: correct default engine variant setup on first launch (#4747)
* fix: there is a case where app selects incorrect engine variant first launch

* refactor: clean up legacy settings hook
2025-02-27 09:03:01 +07:00
Louis
d7329c7719
chore: remove hard coded recommendation models and use cortexso featured tags (#4741)
* chore: remove hard coded recommendation models and use cortexso featured tags

* chore: polish model detail page

* chore: fix test
2025-02-26 15:54:06 +07:00
Louis
eba6884abb
feat: allow users to refresh cloud model list (#4698)
* feat: allow users to refresh cloud model list

* chore: reusable model list refresh

* chore: clean up
2025-02-19 23:24:29 +07:00
Louis
dc06a07c71
Merge branch 'release/v0.5.15' into chore/sync-release-to-dev
# Conflicts:
#	extensions/engine-management-extension/rolldown.config.mjs
#	extensions/inference-cortex-extension/bin/version.txt
#	extensions/yarn.lock
#	web/containers/Layout/BottomPanel/SystemMonitor/index.tsx
#	web/containers/ModelDropdown/index.tsx
#	web/containers/ModelLabel/ModelLabel.test.tsx
#	web/screens/Settings/HuggingFaceRepoDetailModal/ModelDownloadRow/index.tsx
#	web/screens/Thread/ThreadCenterPanel/TextMessage/MarkdownTextMessage.tsx
#	web/screens/Thread/ThreadCenterPanel/TextMessage/index.tsx
#	yarn.lock
2025-02-18 16:33:58 +07:00
Faisal Amir
b0c6779015
feat: app updater with changelog (#4631)
* feat: ui modal app updater with changelog

* chore: update action when click update now

* chore: update handler actions

* chore: fix linter
2025-02-17 12:08:08 +07:00
Louis
a87bbd2840
chore: add google gemini and deepseek as new supported remote engine providers (#4596)
* chore: add google gemini and deepseek as new supported remote engine providers

* chore: add logos

* chore: fallback default error message on empty

* chore: update open router models

* chore: typo fix

* chore: remove unusable queen vl
2025-02-06 20:52:42 +07:00
Faisal Amir
daa7c0ca21
feat: better hardware setting (#4471)
* feat: better hardware setting

* chore: update layout

* feat: better hardware setting

* chore: fix title section

* chore: added hardware engine management

* chore: integrate gpus and enable set gpu activate

* chore: update calculate ram and vram

* chore: update calulate vram and ram used

* fix: set active gpus

* chore: fix progress bar spacing

* chore: always update cache vram gpu

* chore: update cpu usage percentage

* chore: fix type usage cpu

* chore: update ram cpus usage getsystemmonitor from new api harware engine management system

* test: update test case data using hardware management extension

* chore: resolve conflict lock json

* chore: cleanup app services

* chore: update type OperationSystemInfo

* chore: update app service

* chore: show list gpus on system monitor

* chore: remove monitoring extension

* chore: update test case app service

* chore: remove unused hooks useGpusSetting

* chore: remove monitor from shource index

* chore: fix test core

* chore: update gpu and cpu info on engine management ext

* chore: fix app service test

* chore: update test appService include cpu info

* chore: filter gpus show or hide on system monitor based activated gpu

* chore: remove unused run_mode

* chore: remove tensort

* chore: update check gpu run_mode

* chore: handle undefined gpus

* chore: cleanup PR

* chore: cleanup process node error

* chore: fix type
2025-02-03 22:01:08 +07:00
Louis
350c9f7def
chore: maintain app distinct_id on factory reset (#4541) 2025-01-29 21:52:00 +07:00
Louis
83f090826e
feat: Jan Hub Revamp (#4491)
* feat: model hub revamp UI

* chore: model description - consistent markdown css

* chore: add model versions dropdown

* chore: integrate APIs - model sources

* chore: update model display name

* chore: lint fix

* chore: page transition animation

* feat: model search dropdown - deeplink

* chore: bump cortex version

* chore: add remote model sources

* chore: model download state

* chore: fix model metadata label

* chore: polish model detail page markdown

* test: fix test cases

* chore: initialize default Hub model sources

* chore: fix model stats

* chore: clean up click outside and inside hooks

* feat: change hub banner

* chore: lint fix

* chore: fix css long model id
2025-01-28 22:23:25 +07:00
Louis
6dd090acc1
feat: allow users to add remote models (#4534) 2025-01-28 18:07:59 +07:00
Faisal Amir
628838442d
enhancement: create new thread with last chosen model (#4524)
* enhancement: create new thread with last chosen model

* chore: resolve setting undefined
2025-01-27 20:22:39 +07:00
Doan Bui
83550cd0d1
Feat: Allow HTTP proxy authentication inputs (#4479)
* sub dir

* setting proxy

* test useConfigurations

* fix lint

* test

* test 2

* update check
2025-01-24 09:31:26 +07:00
Louis
a8cac58355
chore: refactor - clean out useEngines - mutate swr to update 2025-01-17 12:43:35 +07:00
Louis
f328c357da
fix: remote engine revamp issues 2025-01-17 11:32:13 +07:00
Louis
9579e8647b
fix: empty response on some generation attempts (#4454) 2025-01-15 19:26:54 +07:00
Doan Bui
ffec1cfde3
feat: delete all threads (#4446)
* add delete all threads

* add testcase

* add testcase

* fix lint

* fix linter

* fix linter

* change position Delete All Threads
2025-01-15 11:00:31 +07:00
Faisal Amir
2a0601f75a
feat: remote engine management (#4364)
* feat: remote engine management

* chore: fix linter issue

* chore: remove unused imports

* fix: populate engines, models and legacy settings (#4403)

* fix: populate engines, models and legacy settings

* chore: legacy logics update configured remote engine

* fix: check exist path before reading

* fix: engines and models persist - race condition

* chore: update issue state

* test: update test cases

* chore: bring back Cortex extension settings

* chore: setup button gear / plus based apikey

* chore: fix remote engine from welcome screen

* chore: resolve linter issue

* chore: support request headers template

* chore: update engines using header_template instead of api_key_template

* chore: update models on changes

* fix: anthropic response template

* chore: fix welcome screen and debounce update value input

* chore: update engines list on changes

* chore: update engines list on change

* chore: update desc form add modal remote engines

* chore: bump cortex version to latest RC

* chore: fix linter

* fix: transform payload of Anthropic and OpenAI

* fix: typo

* fix: openrouter model id for auto routing

* chore: remove remote engine URL setting

* chore: add cohere engine and model support

* fix: should not clean on app launch - models list display issue

* fix: local engine check logic

* chore: bump app version to latest release 0.5.13

* test: fix failed tests

---------

Co-authored-by: Louis <louis@jan.ai>
2025-01-14 17:29:56 +07:00
Louis
b4d2176280
Merge pull request #4408 from janhq/main
Sync release 0.5.13 into dev
2025-01-06 21:01:49 +07:00
Louis
4b6eceb339
fix: max_tokens revert back to 8192 automatically when creating a new thread 2025-01-03 12:54:21 +07:00
Louis
da55b46240
Merge pull request #4360 from janhq/main
chore: sync latest main into dev
2024-12-30 22:37:02 +07:00
Faisal Amir
a6a0cb325b
feat: local engine management (#4334)
* feat: local engine management

* chore: move remote engine into engine page instead extension page

* chore: set default engine from extension

* chore: update endpoint update engine

* chore: update event onEngineUpdate

* chore: filter out engine download

* chore: update version env

* chore: select default engine variant base on user device specs

* chore: symlink engine variants

* chore: rolldown.config in mjs format

* chore: binary codesign

* fix: download state in footer bar and variant status

* chore: update yarn.lock

* fix: rimraf failure

* fix: setup-node@v3 for built-in cache

* fix: cov pipeline

* fix: build syntax

* chore: fix build step

* fix: create engines folder on launch

* chore: update ui delete engine variant with modal confirmation

* chore: fix linter

* chore: add installing progress for Local Engine download

* chore: wording

---------

Co-authored-by: Louis <louis@jan.ai>
2024-12-30 17:27:51 +07:00
Louis
81ad90b951
fix: stop button is gone after switching to a new model (#4356) 2024-12-30 14:30:34 +07:00
Louis
9b8d8ab3f7
chore: bump cortex 1.0.7 RC (#4355)
* chore: bump cortex 1.0.7 rc

* chore: test update
2024-12-30 13:37:16 +07:00
Louis
16dce88a75
chore: don't stop inference and hide the stop button when creating a new thread (#4354) 2024-12-30 12:32:44 +07:00
hiento09
bd0e525d66
chore: upgrade to turbo v2 and reduce ci quality gate runtime (#4324)
* chore: upgrade to turbo v2 and reduce ci quality gate runtime

* chore: upgrade to yarn v4 and deprecate turborepo

* chore: reconfigure modules and fix tests

* chore: switch to github-hosted runner

* fix: dependency resolving

* chore: clean redundant step

* chore: headless test

* chore: remove headed param

* fix: resolve dependency version

* fix: ubuntu no-sandbox test

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
Co-authored-by: Louis <louis@jan.ai>
2024-12-29 17:46:15 +07:00
Louis
a720affd93
fix: thread reset state 2024-12-26 19:12:10 +07:00
Louis
5931dbede3
fix: send message button state reset on stop 2024-12-26 19:06:24 +07:00
Louis
b28cac7083
fix: render performance while generating messages (#4328) 2024-12-23 21:04:37 +07:00
Louis
df1c465fd9
fix: app picks model automatically edge cases (#4322) 2024-12-23 15:52:18 +07:00
Louis
9c4dcd38a8
fix: update thread's title edge cases (#4320) 2024-12-23 15:24:02 +07:00
Louis
1f4c00dc41
fix: change theme settings do not work after relocated data folder (#4317) 2024-12-23 13:09:26 +07:00
Louis
24222679fb
fix: cleaning a thread should just clear out messages (#4316)
* fix: cleaning a thread should just clear out messages

* chore: clean up
2024-12-23 12:35:30 +07:00
Louis
4e43f9798d
fix: fetch threads and messages without limiting (#4304)
* fix: threads and messages are cutoff

* fix: threads sorting

* chore: bump cortex latest release and app version
2024-12-20 17:55:23 +07:00
Louis
11f4f20120
fix: thread error handling 2024-12-20 16:34:54 +07:00
Louis
a1ea94aeca
fix: attach file information into message metadata for a quick retrieval (#4298) 2024-12-19 22:01:13 +07:00
Louis
4489af6ad9
chore: deprecate Jan core's REST module - all API requests go to cortex.cpp (#4297) 2024-12-19 21:37:37 +07:00
Faisal Amir
0271774773
enhancement: set recommend model to undefined if no model available (#4296)
* enhancement: set recommend model to undefined if not lastUsedModel

* chore: update logic
2024-12-19 14:14:42 +07:00
Louis
9c5bda758d
Merge pull request #4294 from janhq/fix/context-length-is-reset-on-thread-create
fix: context length is reset while creating a new thread
2024-12-19 10:02:13 +07:00
Louis
b14c09dc00
fix: context length is reset while creating a new thread 2024-12-18 17:41:37 +07:00
Faisal Amir
7d07e995ab
feat: handle case thread when original model deleted (#4280) 2024-12-18 18:37:26 +08:00
Louis
8613e35c15
fix: timestamp issue 2024-12-17 17:12:03 +07:00
Louis
66e37d80d6
fix: attachment preview issue 2024-12-17 16:07:11 +07:00
Louis
8cc24df902
chore: clean up 2024-12-16 20:48:10 +07:00
Louis
bb106eba01
fix: image and attachments 2024-12-16 17:27:06 +07:00
Louis
5a4c5eee83
Merge branch 'dev' into feat/threads-messages-requests-to-backend 2024-12-13 13:12:57 +07:00
Louis
f6ba447f1b
test: update test cases 2024-12-12 16:38:56 +07:00
Louis
174f1c7dcb
feat: reroute threads and messages requests to the backend 2024-12-12 16:38:55 +07:00
Louis
aac2216aef
fix: 4238 - fix default max_tokens set on remote models 2024-12-12 13:20:39 +07:00
Louis
fe190658c1
fix: 4209 - Inconsistent max tokens value persistence 2024-12-04 12:31:40 +07:00