1186 Commits

Author SHA1 Message Date
Faisal Amir
f8557c78d5
fix: think content render as markdown (#4564)
* fix: think content render as markdown

* chore: fix linter issue failed on CI
2025-02-04 14:54:21 +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
Faisal Amir
72b9aaeba1
enhancement: remote engine model (#4560)
* enhancement: add option delete model remote engine

* enhancement: add menu delete remote engine models
2025-02-03 20:36:31 +07:00
Faisal Amir
899f01d5c4
enhancement: update ui uploading files and images (#4562) 2025-02-03 20:36:19 +07:00
Faisal Amir
043284f51e
chore: reasoning block (#4551)
* chore: reasoning text block

* chore: update interface support all theme

* chore: update failed test

* chore: update state collapsed based on message index

* fix: use reserve_id instead of message index

* chore: clean up

* chore: fix loading indicator

---------

Co-authored-by: Louis <louis@jan.ai>
2025-02-01 22:22:45 +07:00
Faisal Amir
f2bb9c91de
chore: align item menu action error message (#4548) 2025-01-30 21:20:55 +07:00
Louis
350c9f7def
chore: maintain app distinct_id on factory reset (#4541) 2025-01-29 21:52:00 +07:00
Louis
144b836935
fix: app does not reload model when prompt template is updated (#4537)
* fix: app does not reload model when prompt template is updated

* chore: lint fix
2025-01-29 21:50:17 +07:00
Faisal Amir
010802012f
fix: broken range slider ctx lenght (#4535) 2025-01-28 23:15:02 +07:00
Faisal Amir
261b44d906
feat: Standardize inline error messages (#4530) 2025-01-28 21:45:46 +07:00
Faisal Amir
c46e30d001
enhancement: unconsistent text color model name, hidden api-key field, and chat completion field under advance setting (#4532) 2025-01-28 21:45:32 +07:00
Faisal Amir
be6de587c5
enhancement: update responsive setting and my model page (#4533) 2025-01-28 21:45:20 +07:00
Louis
6dd090acc1
feat: allow users to add remote models (#4534) 2025-01-28 18:07:59 +07:00
Faisal Amir
65c9bb9fe1
enhancement: update app layout with system monitor open (#4528) 2025-01-28 12:33:03 +07:00
Faisal Amir
afae57b52b
enhancement: added space scroll remote engine setting (#4523)
* enhancement: added space scroll remote engine setting

* chore: show icon history only left panel close on thread page
2025-01-27 20:22:54 +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
Faisal Amir
32436121c7
feat: remove umami (#4520) 2025-01-26 20:42:03 +07:00
Faisal Amir
cdc7d2ba47
enhancement: minor ui refinements (#4521)
* enhancement: minor ui refinements

* chore: update test case
2025-01-26 20:41:52 +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
27a4d979f3
Merge branch 'main' into release/v0.5.14
# Conflicts:
#	extensions/inference-cortex-extension/download.bat
#	extensions/inference-cortex-extension/download.sh
#	extensions/inference-cortex-extension/rollup.config.ts
2025-01-23 11:27:31 +07:00
Louis
156dbc21d0
fix: thread title summarization doesn't work well on reasoning models 2025-01-22 11:03:38 +07:00
Louis
9cf63f87cc
chore: fix type access 2025-01-18 09:16:32 +07:00
Louis
c7bc2eff62
chore: engines data cache - improve ux 2025-01-17 23:12:40 +07:00
Louis
b81516a50f
chore: bump cortex latest rc 1.0.9-rc4 - fix engines list in my models page 2025-01-17 18:06:04 +07:00
Louis
96a14c23c4
chore: fix remote engines request templates 2025-01-17 13:24:17 +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
1affa5a144
fix: app crashes on select cloud model first time onboarding 2025-01-16 19:59:22 +07:00
Louis
89e21be09d
fix: linter 2025-01-16 16:32:54 +07:00
Louis
5298d7584d
chore: typo for universal download 2025-01-16 16:30:51 +07:00
Louis
589fc53030
fix: race condition between model stop and engine update 2025-01-16 16:28:05 +07:00
Louis
713926e68c
chore: attempt to stop model before switching engine variant 2025-01-16 16:18:32 +07:00
Louis
91e0ca1263
chore: fix engine description hyperlink display 2025-01-16 10:29:06 +07:00
Louis
bde35b46b9
Merge pull request #4458 from janhq/fix/mismatch-between-ui-and-model-configs
fix: mismatch NGL number between UI and model settings
2025-01-15 20:30:08 +07:00
Louis
dd791b9527
Merge pull request #4457 from janhq/feat/move-cortex-extension-settings-to-engine
feat: move cortex extension settings to local engine page
2025-01-15 20:29:52 +07:00
Louis
00930ebecb
fix: mismatch NGL number between UI and model settings 2025-01-15 20:02:03 +07:00
Louis
0f4b35d179
fix: engines in settings sometime not populated properly 2025-01-15 19:51:48 +07:00
Louis
f5dd44c4cb
feat: move cortex extension settings to local engine page 2025-01-15 19:47:48 +07:00
Louis
9579e8647b
fix: empty response on some generation attempts (#4454) 2025-01-15 19:26:54 +07:00
Louis
1964a9cf4d
fix: hide placeholder python engine and unsupported openai o1 system role (#4455) 2025-01-15 19:26:44 +07:00
Faisal Amir
231c7116ea
chore: add chat completion field form add remote engine (#4452) 2025-01-15 15:45:52 +07:00
Louis
58bb1b4939
fix: incorrect default max_tokens set - legacy issue (#4451)
* fix: incorrect default max_tokens set - legacy issue

* chore: bump cortex server
2025-01-15 12:37:29 +07:00
Ashley
4e387a79f7
Merge pull request #4448 from janhq/chore/update-in-app-copy
Chore: Update in-app copy
2025-01-15 11:11:37 +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
Louis
a7a497a386
test: fix failed test cases 2025-01-15 10:09:24 +07:00
Ashley
6b44bde9c9 Resolved conflicts 2025-01-14 22:51:39 +07:00
Ashley
1174772958 Updated some copies in Settings 2025-01-14 22:13:10 +07:00
Ashley
97cd0224f1 Updated parameters descriptions 2025-01-14 20:54:26 +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
Faisal Amir
548dd6c027
chore: resolve button state download engine variant (#4444) 2025-01-13 22:13:56 +07:00