1133 Commits

Author SHA1 Message Date
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
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
Faisal Amir
e8e5c8c5f4
fix: disabled native resize textarea when textarea autogrowing (#4326)
* fix: disabled native resize textarea when textarea autogrowing

* fix: disabled auto resize on instruction field
2024-12-23 20:39:22 +07:00
Faisal Amir
56d1ffa136
fix: scroll bottom when generation text (#4323)
* fix: scroll bottom when generation text

* chore: update logic when prepare generate

* chore: fix case no switch thread

* chore: remore dep thread id

* chore: handle fix generation without have dep thread id
2024-12-23 17:55:51 +07:00
Louis
df1c465fd9
fix: app picks model automatically edge cases (#4322) 2024-12-23 15:52:18 +07:00
Louis
171dad1eca
fix: generating message is gone after switching to another thread (#4321) 2024-12-23 15:27:02 +07:00
Louis
9c4dcd38a8
fix: update thread's title edge cases (#4320) 2024-12-23 15:24:02 +07:00
Louis
365cdfa333
fix: threads sorting order after updated (#4319) 2024-12-23 14:09: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
Faisal Amir
abb718c57f
fix: width inputbox based on preference and remove tooltip image upload (#4315) 2024-12-23 12:14:49 +07:00
Faisal Amir
8738421e75
fix: overlap bottom system monitor (#4310) 2024-12-21 00:32:34 +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
Faisal Amir
714097851a
fix: escape heading on user message item (#4301) 2024-12-19 22:38:55 +07:00
Faisal Amir
c7a5cb52e3
fix: conditional render model setting based on selected model (#4300) 2024-12-19 22:12:24 +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
fd45e7e47f
Merge pull request #4295 from janhq/fix/no-new-thread-created-on-factory-reset
fix: new thread isn't automatically created on factory reset
2024-12-19 14:14:10 +07:00
Louis
5b9c1fc668
fix: token speed disappear on complete 2024-12-19 12:10:14 +07:00
Louis
b81b008a93
chore: use seconds timestamp system 2024-12-19 11:38:10 +07:00
Louis
4cd0e63029
fix: create new thread with default assistant 2024-12-19 11:16:17 +07:00
Louis
bdcc3ef48c
chore: fix role 2024-12-19 10:51:13 +07:00
Faisal Amir
8663a7e4bf
fix: scroll to bottom issue (#4289) 2024-12-19 10:35:00 +07:00
Louis
432477341c
fix: new thread isn't automatically created on factory reset 2024-12-19 10:32:35 +07:00
Faisal Amir
d12408cd83
enhancement: update thumbnail chat width option setting (#4284) 2024-12-19 10:02:44 +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
Faisal Amir
ffdea36b18
fix: empty tooltip on attachment icon, also fix z-index (#4290) 2024-12-19 09:22:58 +07:00
Louis
b14c09dc00
fix: context length is reset while creating a new thread 2024-12-18 17:41:37 +07:00