1165 Commits

Author SHA1 Message Date
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
Louis
55dbc9f9f5
fix: scrollable settings view 2025-01-08 06:59:33 +07:00
Louis
09dacef0de
chore: correct CSS of extension settings 2025-01-08 06:53:33 +07:00
Louis
d63c24851a
enhancement: Update Cortex page with better description & UX 2025-01-08 00:40:48 +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
Faisal Amir
3f2d2ef10d
enhancement: instruction textare using autoresize (#4404) 2025-01-06 14:45:39 +07:00
Louis
d17c2ea5e5
fix: input scrolls to the bottom when set the caret to the top (#4399)
* fix: input scrolls to the bottom on long inputs

* test: fix failed tests
2025-01-03 23:47:27 +07:00
Louis
f69c31be64
Merge pull request #4397 from janhq/fix/max_tokens-automatically-revert-when-users-create-new-thread
fix: max_tokens revert back to 8192 automatically when creating a new thread
2025-01-03 13:12:30 +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
Faisal Amir
786d528abb
fix: revert back product analytic with default opt-out (#4394) 2025-01-03 11:05:11 +07:00
Faisal Amir
538a6bf923
fix: send event opt out (#4390)
* fux: send event opt out from button deny

* chore: fix copy

* chore: update placeholder
2025-01-02 21:04:09 +07:00
Faisal Amir
33bb35cb99
fix: enable default opt-in analytic (#4387) 2025-01-02 15:16:34 +07:00
Louis
f6ca24256a
fix: should not disable Vulkan support option 2025-01-02 08:52:51 +07:00
Faisal Amir
fc7a771432
enhancement: update ui delete engine with modal confirmation (#4359)
* enhancement: update ui delete engine with modal confirmation

* chore: fix linter
2024-12-31 10:10:46 +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
Louis
3af34c0d56
chore: Refactor thread state management (#4350)
* chore: Refactor thread state management

• Replace isGeneratingResponseAtom with isBlockingSendAtom
• Update dependencies in ChatBody, ChatInput, and MessageToolbar components
• Remove unused code and variables

* chore: clean states
2024-12-29 23:05:07 +07:00
Faisal Amir
c0f3fb5007
fix: regenerate scroll bottom (#4348) 2024-12-29 20:58:46 +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