442 Commits

Author SHA1 Message Date
Akarshan Biswas
706dad2687
feat: Add support for llamacpp MoE offloading setting (#6748)
* feat: Add support for llamacpp MoE offloading setting

Introduces the n_cpu_moe configuration setting for the llamacpp provider. This allows users to specify the number of Mixture of Experts (MoE) layers whose weights should be offloaded to the CPU via the --n-cpu-moe flag in llama.cpp.

This is useful for running large MoE models by balancing resource usage, for example, by keeping attention on the GPU and offloading expert FFNs to the CPU.

The changes include:

 - Updating the llamacpp-extension to accept and pass the --n-cpu-moe argument.

 - Adding the input field to the Model Settings UI (ModelSetting.tsx).

 - Including model setting migration logic and bumping the store version to 4.

* remove unused import

* feat: add cpu-moe boolean flag

* chore: remove unused migration cont_batching

* chore: fix migration delete old key and add new one

* chore: fix migration

---------

Co-authored-by: Faisal Amir <urmauur@gmail.com>
2025-10-07 19:37:58 +05:30
Faisal Amir
e5be683a97
Merge pull request #6755 from menloresearch/chore/analytic-model-used
chore: create event to track model provider and id model
2025-10-07 20:36:42 +07:00
Louis
e7fcc809e7
Merge pull request #6756 from menloresearch/sync/release-7-1-into-dev
Sync release 0.7.1 to dev
2025-10-07 19:57:28 +07:00
Faisal Amir
7d615b4163 chore: type fixed 2025-10-07 18:10:25 +07:00
Faisal Amir
61c3fd4b5a
Merge pull request #6727 from menloresearch/fix/prompt-token
fix: prompt token
2025-10-07 18:05:29 +07:00
Faisal Amir
310ca7cb23 chore: create message_sent event to track model provider and id model 2025-10-07 18:04:58 +07:00
Faisal Amir
fa397038ef
Merge pull request #6753 from menloresearch/fix/auto-select-download-model
fix: auto select download model
2025-10-07 17:16:19 +07:00
Faisal Amir
dabc49567c
Merge pull request #6743 from menloresearch/chore/dropdown-submenu-scrollable
chore: make dropdown sub menu assign projects scrollable
2025-10-07 13:36:01 +07:00
Faisal Amir
d8dcba3552 fix: auto select download model 2025-10-07 13:29:56 +07:00
Nghia Doan
f4efd479d5
Merge pull request #6746 from menloresearch/feat/hide-project-mobile
feat: Hide projects for mobile version
2025-10-07 10:38:03 +07:00
Louis
fe2c2a8687 Merge branch 'dev' into release/v0.7.0
# Conflicts:
#	web-app/src/containers/DropdownModelProvider.tsx
#	web-app/src/containers/ThreadList.tsx
#	web-app/src/containers/__tests__/DropdownModelProvider.displayName.test.tsx
#	web-app/src/hooks/__tests__/useModelProvider.test.ts
#	web-app/src/hooks/useChat.ts
#	web-app/src/lib/utils.ts
2025-10-06 20:42:05 +07:00
Vanalite
b23aa68254 feat: Hide projects for mobile version 2025-10-06 18:14:03 +07:00
Faisal Amir
0588cb34c6
Merge pull request #6713 from menloresearch/fix/theme-system
fix: theme system cross platform
2025-10-06 16:58:53 +07:00
Faisal Amir
b32e3ebd60
Merge pull request #6742 from menloresearch/fix/last-used-model
fix: new chat with update last selected model dropdown
2025-10-06 15:03:00 +07:00
Faisal Amir
ac6eda063a fix: tittle recent when no result found 2025-10-06 11:35:27 +07:00
Faisal Amir
f160d83ca9 chore: make drodpwon sub menu assisgn project scroll able 2025-10-06 11:16:02 +07:00
Faisal Amir
13c7ad707e chore: fix new chat with update last selected model dropdown 2025-10-06 11:06:15 +07:00
Faisal Amir
51e7a08118 fix: new window theme 2025-10-06 10:55:17 +07:00
Faisal Amir
aa0c4b0d1b fix: theme native system and check os support blur 2025-10-06 10:55:17 +07:00
Roushan Singh
cc5130c1af Fix Translation changes across locales 2025-10-06 10:46:18 +07:00
Roushan Singh
73b241c16f chore: Reposition 'Remove project' option for better usability 2025-10-06 10:46:18 +07:00
Roushan Singh
cb9eb6d238 fix(ui): restore missing border on model selector (#6692) 2025-10-04 22:21:02 +05:30
Vanalite
24ff36d424 fix: Extract model capabilities correctly for various providers on various platforms 2025-10-02 21:48:07 +07:00
Nghia Doan
87db633b7d
Merge pull request #6700 from menloresearch/fix/edit-model-name
fix: Fix editing model without saving should restore original name
# Conflicts:
#	web-app/src/containers/__tests__/EditModel.test.tsx
2025-10-02 09:28:50 +07:00
Nghia Doan
ab2bc11465
Merge pull request #6700 from menloresearch/fix/edit-model-name
fix: Fix editing model without saving should restore original name
2025-10-02 08:58:48 +07:00
Dinh Long Nguyen
1b9efee52c feat: improve projects (#6698)
* decouple successfully

* only show movable projects for project items

* handle delete covnersations when projects is removed

* fix leftpanel assignemtn

* fix lint
2025-10-01 22:53:34 +07:00
Dinh Long Nguyen
d5110de67b
feat: improve projects (#6698)
* decouple successfully

* only show movable projects for project items

* handle delete covnersations when projects is removed

* fix leftpanel assignemtn

* fix lint
2025-10-01 22:47:38 +07:00
Vanalite
fb8b61c567 fix: Fix editing model without saving should restore original name 2025-10-01 22:47:03 +07:00
Faisal Amir
771d097309
Merge pull request #6688 from menloresearch/fix/dropdown-type-assistant 2025-10-01 14:47:54 +07:00
Faisal Amir
99d1713517 fix: dropdown type assistant 2025-10-01 14:00:55 +07:00
Faisal Amir
2679b19e32 fix: local api server auto start first model when missing last used 2025-10-01 11:04:28 +07:00
Vanalite
262a1a9544 Merge remote-tracking branch 'origin/dev' into mobile/dev
# Conflicts:
#	src-tauri/src/core/setup.rs
#	src-tauri/src/lib.rs
#	web-app/src/hooks/useChat.ts
2025-10-01 09:52:01 +07:00
Nghia Doan
c5a5968bf8
Merge pull request #6643 from menloresearch/fix/model-name-change
fix: Apply model name change correctly
2025-09-30 22:41:05 +07:00
Dinh Long Nguyen
191e6f9714 fix lint issue 2025-09-30 22:24:31 +07:00
Dinh Long Nguyen
e6bc1182a6
Merge branch 'dev' into feat/sync-release=to-dev 2025-09-30 22:04:27 +07:00
Dinh Long Nguyen
82d29e7a7d
add eof new line missing (#6673) 2025-09-30 21:48:38 +07:00
Dinh Long Nguyen
f33c2c205a
feat: web add search button for extension (#6671)
* add search button for web extension

* change button color and behavior

* Update extensions-web/src/mcp-web/components/WebSearchButton.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-30 21:39:08 +07:00
Vanalite
a62852f384 fix: Restore default permission on desktop build
Restore desktop capabilities
Restore linter correctness
Restore different capabilities on each platform
2025-09-30 17:01:09 +07:00
Vanalite
4718203960 fix: Fix linter and tests 2025-09-30 15:39:45 +07:00
Louis
de9c04474e
fix: should not allow duplicating model (#6658) 2025-09-30 13:59:17 +07:00
Vanalite
c53d8c09c4 Merge remote-tracking branch 'origin/dev' into mobile/dev
# Conflicts:
#	web-app/src/containers/HeaderPage.tsx
#	web-app/src/lib/platform/const.ts
#	web-app/src/routes/index.tsx
2025-09-30 11:21:36 +07:00
Faisal Amir
1c9890649d fix: remove thinking tag on projects list message history 2025-09-30 11:08:31 +07:00
Dinh Long Nguyen
2101242530
Feat: web temporary chat (#6650)
* temporray chat stage1

* temporary page in root

* temporary chat

* handle redirection properly
`

* temporary chat header

* Update extensions-web/src/conversational-web/extension.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* update routetree

* better error handling

* fix strecthed assitant on desktop

* update yarn link to workspace for better link consistency

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-30 10:42:21 +07:00
Vanalite
5e57caee43 Merge remote-tracking branch 'origin/dev' into mobile/dev
# Conflicts:
#	extensions/yarn.lock
#	package.json
#	src-tauri/plugins/tauri-plugin-hardware/src/vendor/vulkan.rs
#	src-tauri/src/lib.rs
#	yarn.lock
2025-09-29 22:22:00 +07:00
Vanalite
b062e6840a fix: Fix linter error 2025-09-29 19:59:53 +07:00
Vanalite
987063fede feat: Add tests for the model displayName modification 2025-09-29 17:59:15 +07:00
Vanalite
03ee9c14a3 fix: Apply model name change correctly
# Conflicts:
#	web-app/src/lib/utils.ts
2025-09-29 16:39:32 +07:00
Faisal Amir
b4df56e0d8 chore: placement menu leftpanel, and ux create add projects 2025-09-29 13:44:56 +07:00
Louis
311b79fe13
fix: thread rerender due to thread scrolling padding subscription (#6629) 2025-09-28 22:36:05 +07:00
Dinh Long Nguyen
b422970369
feat: scrolling behaves like chatgpt with padding (#6598)
* scroll like chatgpt with padding

* minor refactor
2025-09-26 15:53:05 +07:00