521 Commits

Author SHA1 Message Date
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
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
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
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
5298d7584d
chore: typo for universal download 2025-01-16 16:30:51 +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
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
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
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
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
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
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
Faisal Amir
af84a3a8d9
fix: scroll bottom issue (#4308) 2024-12-20 22:39:08 +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
5b9c1fc668
fix: token speed disappear on complete 2024-12-19 12:10:14 +07:00
Faisal Amir
7d07e995ab
feat: handle case thread when original model deleted (#4280) 2024-12-18 18:37:26 +08:00
Faisal Amir
f2db31781e
feat: add chat width setting option for thread (#4278) 2024-12-17 13:36:15 +07:00
Faisal Amir
0164db2139
fix: starter screen layout (#4279) 2024-12-17 13:33:24 +07:00
Louis
2410de0ba9
Merge branch 'dev' into feat/threads-messages-requests-to-backend 2024-12-17 10:02:48 +07:00
Louis
f18207f21c
fix: linter 2024-12-16 17:41:54 +07:00
Louis
bb106eba01
fix: image and attachments 2024-12-16 17:27:06 +07:00
Faisal Amir
5fc04e09eb
feat: product analytic UI (#4262)
* chore: initial ui prompt product analytic

* chore: integrate posthog

* chore: update event app_version

* chore: update build env

* feat: posthog config in ci

* chore: resolve linter test CI

* chore: resolve e2e

* chore: disable capture unless property

* chore: update e2e

* chore: update privacy data analytic

---------

Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-12-16 15:06:46 +07:00
Louis
5a4c5eee83
Merge branch 'dev' into feat/threads-messages-requests-to-backend 2024-12-13 13:12:57 +07:00
Louis
d310d651b8
chore: fix thread assistants retrieval 2024-12-13 12:59:46 +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
Faisal Amir
c15bb9e9b4
enhancement: better error handing for remote models when there's no internet connection (#4252)
* enhance: better handling failed to fetch

* chore: remove console

* chore: checking engine showing error failed to fetch

* chore: fix linter

* chore: fix linter error missing assistant
2024-12-10 12:34:47 +07:00
Faisal Amir
21389070fb
fix: performance issue when pasting long content into the chat input box (#4240) 2024-12-06 15:48:01 +07:00
Faisal Amir
1c80cb2cd5
enhancement: default open Jan Input Box Settings and Right panel (#4234)
* enhancement: default open Jan Input Box Settings and Right panel

* chore: added option getOnInit atomstorage
2024-12-05 18:00:50 +07:00
Louis
7585bb00ea
chore: refactor types out of atoms 2024-12-05 11:27:58 +07:00
Louis
9c5a6e2e99
Merge pull request #4212 from janhq/fix/4208-should-not-filter-out-special-chars-on-title-update
fix: 4208 - Empty title with special characters
2024-12-04 15:28:30 +07:00
Louis
fe190658c1
fix: 4209 - Inconsistent max tokens value persistence 2024-12-04 12:31:40 +07:00
Louis
308a26b9d8
fix: 4208 - Empty title with special characters 2024-12-04 11:39:17 +07:00
Louis
bfd66c421c
fix: error message should not be capitalized 2024-12-03 13:53:26 +07:00
Louis
541a37b8f1
fix: 4171 - Model loading gets stuck on stop 2024-12-02 14:04:13 +07:00
Louis
7b13384fd4
test: remove irrelevant test case 2024-11-30 17:53:57 +07:00
Louis
7ef6eae97a
fix: smooth the loader animation 2024-11-30 17:07:57 +07:00
Louis
79b29f7913
chore: display error message from response 2024-11-29 16:43:44 +07:00
Louis
7b1a1be74f
chore: token speed should not start by 1 - hide on non stream 2024-11-29 10:08:04 +07:00