4919 Commits

Author SHA1 Message Date
Sam Hoang Van
6cee466f52
fix(server): add gzip decompression support for /models endpoint filtering (#5349)
- Add gzip detection using magic number check (0x1f 0x8b)
- Implement gzip decompression before JSON parsing
- Add gzip re-compression for filtered responses
- Fix "invalid utf-8 sequence" error when upstream returns gzipped content
- Maintain Content-Encoding consistency for compressed responses
- Add comprehensive gzip handling with flate2 library

Resolves issue where filtering failed on gzip-compressed model responses.
2025-06-18 15:30:31 +07:00
Faisal Amir
45df0b272d
🐛fix: render streaming token speed based on thread ID & assistant metadata (#5346) 2025-06-18 14:54:56 +07:00
Sam Hoang Van
369ba5ac75
feat(server): filter /models endpoint to show only downloaded models (#5343)
- Add filtering logic to proxy server for GET /models requests
- Keep only models with status "downloaded" in response
- Remove Content-Length header to prevent mismatch after filtering
- Support both ListModelsResponseDto and direct array formats
- Add comprehensive tests for filtering functionality
- Fix Content-Length header conflict causing empty responses

Fixes issue where all models were returned regardless of download status.
2025-06-18 14:11:53 +07:00
Faisal Amir
771105a5b2
🐛fix: handle NaN value tokenspeed (#5339) 2025-06-18 12:35:42 +07:00
Faisal Amir
417b789b5e
🐛fix: update wording desc vulkan (#5338)
* 🐛fix: update wording desc vulkan

* enhancement: update copy
2025-06-18 12:35:37 +07:00
Sam Hoang Van
b30de3d1ae
fix: sorted-thread-not-stable (#5336) 2025-06-18 09:39:18 +07:00
Ramon Perez
06be778e98
improved wording in UI elements (#5323) 2025-06-18 09:35:57 +07:00
Sam Hoang Van
1160ea140b
🐛 fix: disable sorting for threads in SortableItem and clean up thread order handling (#5326) 2025-06-18 00:23:53 +07:00
Nguyen Ngoc Minh
3f07358125
🐛 fix(updater): terminate sidecar processes before update to avoid file access errors (#5325) 2025-06-17 23:43:15 +07:00
Louis
52bb54d2d5
fix: glitch model download issue (#5322) 2025-06-17 23:01:22 +07:00
Louis
ebc268018b
Sync 0.5.18 to 0.6.0 (#5320)
* chore: correct binary name for stable version (#5303)

* ci: enable devtool on prod build (#5317)

* ci: enable devtool on prod build

---------

Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
Co-authored-by: Nguyen Ngoc Minh <91668012+Minh141120@users.noreply.github.com>
2025-06-17 21:08:56 +07:00
Faisal Amir
11d767633e
🐛fix: allow script posthog (#5316) 2025-06-17 18:35:02 +07:00
Louis
86079074d2
🐛fix: update default extension settings (#5315)
* fix: update default extension settings

* chore: hide language setting on Prod
2025-06-17 17:37:31 +07:00
Louis
2899d58ad7
🐛fix: llama.cpp default NGL setting does not offload all layers to GPU (#5310)
* 🐛fix: llama.cpp default NGL setting does not offload all layers to GPU

* chore: cover more cases

* chore: clean up

* fix: should not show GPU section on Mac
2025-06-17 15:30:07 +07:00
Louis
50c25b65b6
chore: correct binary name for stable version (#5303) (#5311)
Co-authored-by: hiento09 <136591877+hiento09@users.noreply.github.com>
2025-06-17 13:35:53 +07:00
Faisal Amir
321fb858dd
🐛fix:safely convert values to numbers and handle NaN cases (#5309) 2025-06-17 13:15:40 +07:00
Faisal Amir
f0ec3e03d1
🐛fix: immediately show download progress (#5308) 2025-06-17 12:46:23 +07:00
Faisal Amir
a745d24fbe
🐛fix: glitch padding speed token (#5307) 2025-06-17 10:00:55 +07:00
Faisal Amir
f7b53da898
🐛fix: hide token speed when assistant params stream false (#5302) 2025-06-16 21:50:23 +07:00
Faisal Amir
4dfc9f604a
🐛fix: remove onboarding local model and hide the edit capabilities model (#5301)
* 🐛fix: remove onboarding local model and hide the edit capabilities model

* ♻️refactor: conditional search params setup screen
2025-06-16 20:53:48 +07:00
Louis
4181454799
🐛fix: typo in build type check (#5297) 2025-06-16 18:45:26 +07:00
Faisal Amir
9b1f206cc6
🐛fix: showing release notes for beta and prod (#5292)
* 🐛fix: showing release notes for beta and prod

* ♻️refactor: make an utils env

* ♻️refactor: hide MCP for production

* ♻️refactor: simplify the boolean expression fetch release note
2025-06-16 17:14:38 +07:00
Faisal Amir
8e921ab521
🐛fix: optional additional_information gpu (#5291) 2025-06-16 16:28:54 +07:00
Faisal Amir
da2f97c227
enhancement: add setting chat width container (#5289)
* enhancement: add setting conversation width

* enahncement: cleanup log and change improve accesibility

* enahcement: move const beta version
2025-06-16 15:02:43 +07:00
Bui Quang Huy
bea806c26c
Merge pull request #5278 from menloresearch/feat/token-speed-modification
 Feat: Token Speed Display Feature
2025-06-15 20:33:52 +08:00
Louis
e20c801ff0
enhancement: out of context troubleshooting (#5275)
* enhancement: out of context troubleshooting

* 🔧refactor: clean up
v0.5.18-rc6-beta
2025-06-15 18:20:17 +07:00
LazyYuuki
de5ddaac6d 🧹 clean: all the missed console.log 2025-06-15 19:12:19 +08:00
LazyYuuki
b93f8afda2 🐛 fix: exclude deleted field 2025-06-15 19:05:11 +08:00
LazyYuuki
4b3a0918fe ♻️ refactor: to follow prettier convention 2025-06-15 18:54:22 +08:00
LazyYuuki
665de7df55 feat: add token speed to each message that persist 2025-06-15 18:30:39 +08:00
Faisal Amir
d131752419
fix: masking value MCP env field (#5276) 2025-06-15 16:18:43 +07:00
LazyYuuki
3ae4d12f60 🐛 fix: commented out the wrong import 2025-06-15 16:08:58 +08:00
LazyYuuki
2ff1776379 🚧 wip: disable showSpeedToken in ChatInput 2025-06-15 16:07:08 +08:00
Louis
9ab69b157b
🐛fix: Jan-nano repo name changed (#5274) v0.5.18-rc5-beta v0.5.18-rc4-beta 2025-06-15 11:17:41 +07:00
LazyYuuki
c896398fab 🔧 config: add to gitignore 2025-06-15 10:45:37 +08:00
Louis
2634659366
🐛fix: default onboarding model should use recommended quantizations (#5273)
* 🐛fix: default onboarding model should use recommended quantizations

* enhancement: show context shift option in provider settings

* 🔧chore: wording
v0.5.18-rc3-beta
2025-06-15 02:34:14 +07:00
Louis
a10dbef2c8
enhancement: Model sources should not be hard coded from frontend (#5270) 2025-06-14 22:00:43 +07:00
Faisal Amir
b5bdf3cfd2
fix: glitch download from onboarding (#5269) 2025-06-14 17:38:14 +07:00
Louis
1e17cc6ec7
enhancement: model run improvement (#5268)
* fix: mcp tool error handling

* fix: error message

* fix: trigger download from recommend model

* fix: can't scroll hub

* fix: show progress

* enhancement: prompt users to increase context size

* enhancement: rearrange action buttons for a better UX

* 🔧chore: clean up logics

---------

Co-authored-by: Faisal Amir <urmauur@gmail.com>
2025-06-14 16:32:15 +07:00
Louis
23240f958e
Merge pull request #5262 from menloresearch/chore/sync-new-hub-data
chore: sync new hub data
2025-06-13 17:05:49 +07:00
Faisal Amir
e04dfc73c7
fix: thinking block (#5263) 2025-06-13 15:22:55 +07:00
Faisal Amir
2b8c448be4
chore: enable shortcut zoom (#5261)
* chore: enable shortcut zoom

* chore: update shortcut setting
2025-06-13 11:37:34 +07:00
Louis
72aa39d67f
Merge branch 'dev' into release/v0.5.18
# Conflicts:
#	.github/workflows/jan-tauri-build-nightly.yaml
#	.github/workflows/template-tauri-build-linux-x64.yml
#	.github/workflows/template-tauri-build-macos.yml
#	.github/workflows/template-tauri-build-windows-x64.yml
#	web/containers/ModelDropdown/index.tsx
2025-06-13 00:07:57 +07:00
Louis
27c4918395
fix: default settings should leave empty (#5257)
* fix: default settings should leave empty

* fix: default settings

* fix: remove some more default settings

* fix: threads and cont

* fix: data

* fix: default setting

* fix: settings

* chore: bump cortex version

* chore: bump to cortex 1.0.14

* chore: clean up

* typoe

* chore: fix dialog hang

* fix: default parameter

* chore: truncate edit model title

* chore: update default provider settings

* chore: fix typo

---------

Co-authored-by: Faisal Amir <urmauur@gmail.com>
2025-06-13 00:01:25 +07:00
Sam Hoang Van
e22452b26e
fix: add cortex_killed_intentionally state to manage sidecar process termination (#5255)
* fix: add cortex_killed_intentionally state to manage sidecar process termination

* fix: improve handling of intentionally killed sidecar process
2025-06-12 19:20:27 +07:00
Faisal Amir
32f68de36f
fix: race condition tools approval state (#5259) 2025-06-12 18:51:42 +07:00
Faisal Amir
414a9f0da5
fix/replace close think tag from text segment (#5258) 2025-06-12 16:33:33 +07:00
Faisal Amir
6300875e19
fix: reduce app state left panel (#5256) 2025-06-12 15:27:55 +07:00
Nguyen Ngoc Minh
37d72c3869
ci: add manual sign for appimage artifact (#5254) 2025-06-12 14:50:24 +07:00
Faisal Amir
57ad0894ab
fix: cleanup console error and warning render FE (#5253)
* fix: console error render FE

* chore: cleanup error and warning console
2025-06-12 14:35:34 +07:00