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
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
Louis
0485134343
fix: token speed should not be calculated based on state updates
2024-11-29 09:34:38 +07:00
Faisal Amir
8657e032a7
fix: scroll bottom when switch thread ( #4152 )
2024-11-28 20:01:30 +07:00
Louis
3a68f29c0f
fix: app re-render issues caused by bad state handling
2024-11-27 22:48:41 +07:00
Faisal Amir
eb3669e0a8
fix: handle case stop word too long ( #4145 )
2024-11-27 21:38:38 +07:00
Louis
6d1d890fd0
test: correct test cases
2024-11-27 18:37:04 +07:00
Louis
eab19b30cf
fix: wrong component wrapping cause excessive app rerender
2024-11-27 18:11:57 +07:00
Louis
dc649bf523
fix: 4096 - failed to get huggingface models
2024-11-27 00:14:43 +07:00
Louis
b046ee3e22
Merge pull request #4119 from janhq/fix/invalid-request-should-not-show-invalid-api-key
...
fix: 3986 - invalid request should show clear error message
2024-11-26 19:54:11 +07:00
Louis
60a888c9d7
test: correct test case
2024-11-26 18:54:48 +07:00
Louis
f227d35238
test: update test case
2024-11-25 21:21:19 +07:00
Faisal Amir
314cb03693
feat: stop word model setting ( #4113 )
...
* feat: stop word model setting
* chore: update test tag input
* chore: handle UI when no stop word
* chore: fix types of value tag input
2024-11-25 21:17:16 +07:00
Louis
aa175000e3
fix: 3986 - invalid request should show clear error message
2024-11-25 19:57:40 +07:00
Faisal Amir
8b485ba44f
fix: disabled shortcut create new thread on starter screen ( #4074 )
2024-11-22 12:53:04 +07:00