6520 Commits

Author SHA1 Message Date
Nguyen Ngoc Minh
8e10f27cc2
Merge pull request #6701 from menloresearch/cherry-pick/projects
cherry pick : projects + performance enhancement
2025-10-01 16:42:20 +00:00
Dinh Long Nguyen
9f72debc17 fix: thread item overfetching (#6699)
* fix: thread item overfetching

* chore: cleanup left over import
2025-10-01 22:53:53 +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
Dinh Long Nguyen
870c12af9b
fix: thread item overfetching (#6699)
* fix: thread item overfetching

* chore: cleanup left over import
2025-10-01 22:47:27 +07:00
Vanalite
fb8b61c567 fix: Fix editing model without saving should restore original name 2025-10-01 22:47:03 +07:00
Akarshan Biswas
0f0ba43b7f
feat: Adjust RAM/VRAM calculation for unified memory systems (#6687)
* feat: Adjust RAM/VRAM calculation for unified memory systems

This commit refactors the logic for calculating **total RAM** and **total VRAM** in `is_model_supported` and `plan_model_load` commands, specifically targeting systems with **unified memory** (like modern macOS devices where the GPU list may be empty).

The changes are as follows:

* **Total RAM Calculation:** If no GPUs are detected (`sys_info.gpus.is_empty()` is true), **total RAM** is now set to $0$. This avoids confusing total system memory with dedicated GPU memory when planning model placement.
* **Total VRAM Calculation:** If no GPUs are detected, **total VRAM** is still calculated as the system's **total memory (RAM)**, as this shared memory acts as VRAM on unified memory architectures.

This adjustment improves the accuracy of memory availability checks and model planning on unified memory systems.

* fix: total usable memory in case there is no system vram reported

* chore: temporarily change to self-hosted runner mac

* ci: revert back to github hosted runner macos

---------

Co-authored-by: Louis <louis@jan.ai>
Co-authored-by: Minh141120 <minh.itptit@gmail.com>
2025-10-01 18:58:14 +07:00
Nguyen Ngoc Minh
6a4aaaec87
Merge pull request #6694 from menloresearch/ci/revert-msi-installer
ci: revert upload msi to github release
2025-10-01 10:30:55 +00:00
Minh141120
a5574eaacb ci: revert upload msi to github release 2025-10-01 17:00:03 +07:00
Roushan Kumar Singh
247db95bad
resolve TypeScript and Rust warnings (#6612)
* chore: fix warnings

* fix: add missing scrollContainerRef dependencies to React hooks

* fix: typo

* fix: remove unsupported fetch option and enable AsyncIterable types

- Removed `connectTimeout` from fetch init (not supported in RequestInit)
- Updated tsconfig to target ES2018

* chore: refactor rename

* fix(hooks): update dependency arrays for useThreadScrolling effects

* Add type.d.ts to extend requestinit with connectionTimeout

* remove commentd unused import
2025-10-01 16:06:41 +07:00
Faisal Amir
771d097309
Merge pull request #6688 from menloresearch/fix/dropdown-type-assistant 2025-10-01 14:47:54 +07:00
Louis
157ecacb20
fix: chat completion usage - token speed (#6675) 2025-10-01 14:19:21 +07:00
Louis
e0ab77cb24
fix: token count error (#6680) 2025-10-01 14:07:32 +07:00
Faisal Amir
7a36ed238c
Merge pull request #6681 from menloresearch/fix/local-api-server
fix: local api server auto start first model when last used missing
2025-10-01 14:01:22 +07:00
Faisal Amir
99d1713517 fix: dropdown type assistant 2025-10-01 14:00:55 +07:00
Faisal Amir
d102165028 chore: move auto start server setting 2025-10-01 11:44:49 +07:00
Faisal Amir
199623b414 chore: clear flow loacl api server 2025-10-01 11:23:59 +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
Nghia Doan
0de5f17071
Merge pull request #6657 from menloresearch/mobile/dev
Feat: Jan has mobile MVP
2025-10-01 09:56:30 +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
Dinh Long Nguyen
4cb3c46f89
feat: disable all web mcp by default (new users) (#6677) 2025-10-01 09:35:09 +07:00
Dinh Long Nguyen
46d55030f0
Merge pull request #6674 from menloresearch/feat/sync-release=to-dev 2025-09-30 23:18:22 +07:00
Dinh Long Nguyen
9a72a2d5d5 fix tauri test 2025-09-30 22:43:14 +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
d50226b4dd add missing closing test 2025-09-30 22:36:52 +07:00
Dinh Long Nguyen
817680565e remove test conflict 2025-09-30 22:33:51 +07:00
Dinh Long Nguyen
84f46dc997
Merge branch 'dev' into feat/sync-release=to-dev 2025-09-30 22:31:20 +07:00
Louis
3c7eb64353
fix: mcp bin path (#6667)
* fix: mcp bin path

* chore: clean up unused structs

* fix: bin name

* fix: tests
2025-09-30 22:29:15 +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
Nguyen Ngoc Minh
7eacee26d0
Merge pull request #6670 from menloresearch/ci/upload-msi-to-release
ci: add upload msi installer for windows
2025-09-30 21:15:34 +07:00
Minh141120
631a95e018 ci: add upload msi installer for windows 2025-09-30 20:12:53 +07:00
Nguyen Ngoc Minh
f7be59e99c
Merge pull request #6668 from menloresearch/feat/add-msi-installer
feat: add msi installer
2025-09-30 17:39:32 +07:00
Vanalite
6bd623c020 fix: Fix cargo test 2025-09-30 17:19:58 +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
Minh141120
508cbe16f8 refactor: remove redundant resource 2025-09-30 15:49:14 +07:00
Minh141120
dcb511023d ci: add upload .msi artifact 2025-09-30 15:41:04 +07:00
Vanalite
4718203960 fix: Fix linter and tests 2025-09-30 15:39:45 +07:00
Faisal Amir
b3fc64049a
Merge pull request #6666 from menloresearch/content/emre
Content/emre
2025-09-30 15:35:43 +07:00
Minh141120
0b8f3e01fb feat: add msi installer for windows 2025-09-30 15:32:29 +07:00
eckartal
2a9166c9f8 Add AI for Teachers blog post with images and video
- Create comprehensive AI for Teachers blog post
- Add hero image and assistant creation interface images
- Include video demonstration of Jan for teachers
- Add proper ogImage and twitter image references
- Cover lesson planning, grading, parent communication, and classroom resources
- Focus on privacy and offline AI for educational use
2025-09-30 16:16:40 +08:00
Vanalite
43d20e2a32 fix: revert the modification of vulkan 2025-09-30 14:50:54 +07:00
eckartal
6c0fa46784 Update AI for Law blog post with images and content improvements
- Add hero image for AI for Law blog post
- Add images to assistant creation and contract review sections
- Improve content structure and readability
- Add proper image assets for legal AI use cases
- Update ogImage and twitter image references
2025-09-30 15:05:23 +08:00
Louis
de9c04474e
fix: should not allow duplicating model (#6658) 2025-09-30 13:59:17 +07:00
Faisal Amir
c3184bd233
Merge pull request #6654 from menloresearch/content/emre
Emre to improve SEO
2025-09-30 13:54:00 +07:00
Faisal Amir
334b160012
Merge pull request #6656 from menloresearch/fix/thinking-block
fix: remove thinking tag on projects list message history
2025-09-30 13:48:34 +07:00
Nguyen Ngoc Minh
04fcd788a3
Merge pull request #6659 from menloresearch/fix/6626
fix: Improve KV cache estimation robustness
2025-09-30 13:42:28 +07:00
Nguyen Ngoc Minh
a3fcd28c12
Merge pull request #6665 from menloresearch/docs/update-redirect
docs: update redirect links
2025-09-30 13:32:43 +07:00