Louis
50b83d7342
fix: could not add custom models ( #5241 )
...
* fix: could not add custom models
* Update web-app/src/lib/completion.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore: remove hard coded ID string
* fix: revert suggestion change
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-11 17:04:00 +07:00
Faisal Amir
46add8e88a
chore: experimental tag mcp ( #5239 )
...
* chore: experimental tag on mcp setting
* chore: dupl classname
2025-06-11 15:35:55 +07:00
Sam Hoang Van
dba35bc5a4
chore: comment out API documentation handling code ( #5240 )
2025-06-11 15:15:45 +07:00
Faisal Amir
808fdb02a7
chore: streaming tool output ( #5237 )
...
* enhancement: tool streaming output
* chore: update memo
* fix: streaming
* chore: update stream tools arguments
* chore: update condition
* fix: style
* fix: style
* chore: fix stop button
* chore: update color accent and hide arrow button
---------
Co-authored-by: Louis <louis@jan.ai>
2025-06-11 14:35:41 +07:00
David
cfefcb00cb
Merge pull request #5238 from menloresearch/fix/hyper-link-playground
...
feat(local-api-server): add button to open API documentation and improve layout
v0.5.18-rc2-beta
2025-06-11 11:53:33 +07:00
sam hoang
6f030f720a
feat(local-api-server): add button to open API documentation and improve layout
2025-06-11 11:46:04 +07:00
Sam Hoang Van
eef37defb4
fix(server): enhance CORS handling for local API network access ( #5236 )
...
* fix(server): enhance CORS handling for local API network access
- Fix CORS preflight validation to use Host header for target validation
- Use Origin header correctly for CORS response headers
- Improve host validation to support both host:port and host-only formats
- Filter upstream CORS headers to prevent duplicate Access-Control-Allow-Origin
- Add CORS headers to all error responses for consistent behavior
- Fix host matching logic to handle trusted hosts with and without ports
- Ensure single Access-Control-Allow-Origin header per response
This resolves CORS preflight failures that were blocking cross-origin
requests to the local API server, enabling proper network access from
web applications and external tools.
Fixes: OPTIONS requests being rejected due to incorrect host validation
Resolves: "access control allow origin cannot contain more than one origin" error
* fix(proxy): bypass host and authorization checks for root path in CORS preflight
* fix(proxy): bypass host and authorization checks for whitelisted paths
2025-06-11 09:44:17 +07:00
Louis
1799bfed3f
chore: temporary disable web response
2025-06-10 18:36:48 +07:00
Louis
92a52dfa08
fix: tauri path env ( #5233 )
2025-06-10 18:31:21 +07:00
Louis
51a321219d
chore: fix model settings are not applied accordingly on change ( #5231 )
...
* chore: fix model settings are not applied accordingly on change
* chore: handle failed tool call
* chore: stop inference and model on reject
2025-06-10 16:26:42 +07:00
Sam Hoang Van
dcb3f794d3
Feat: render mcp content ( #5229 )
2025-06-10 15:06:42 +07:00
Sam Hoang Van
fbb6b6f800
make fzf case-insensitive ( #5228 )
2025-06-10 12:27:17 +07:00
Faisal Amir
8ba4b0be36
chore: add toggle loading sever MCP ( #5225 )
...
* chore: add toggle loading sever mcp
* chore: remove duplicate classname
* chore: remove log
* chore: remove log
* fix: save server config
---------
Co-authored-by: Louis <louis@jan.ai>
2025-06-09 23:56:49 +07:00
Louis
891c149f1b
fix: MCP server should not spawn shell window ( #5223 )
...
* fix: MCP server should not spawn shell window
* Update src-tauri/src/core/mcp.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-09 23:23:34 +07:00
Louis
6d6790d5e0
fix: clean up cortex processes ( #5215 )
...
* fix: clean up cortex processes
* chore: clean up
* chore: does not need output shell
2025-06-09 22:23:07 +07:00
Nguyen Ngoc Minh
ecfbdf8256
chore: build config info plist ( #5224 )
...
* chore: update Info.plist and tauri config to reflect build channel
2025-06-09 22:20:38 +07:00
Faisal Amir
c41a6c3899
fix: tools call available dropdown ( #5222 )
2025-06-09 20:58:09 +07:00
Louis
919b6671a1
enahancement: mcp server activation response and error handling ( #5220 )
...
* fix: mcp server error handling
* fix: custom installation path of MCP package managers
* chore: clean up
* chore: clean up
* chore: append mcp server errors to app logs
* fix: logs reading
* chore: typo
2025-06-09 19:43:16 +07:00
Faisal Amir
0d0c624e99
chore: force windows to default alpha color 1 ( #5218 )
2025-06-09 17:44:22 +07:00
Faisal Amir
4a3a0e6496
fix/ui-glitch-dots-truncated ( #5219 )
2025-06-09 17:44:06 +07:00
Faisal Amir
1d69101f97
fix: conditional button refresh model ( #5221 )
2025-06-09 17:43:48 +07:00
Faisal Amir
1bbac32d88
fix: glitch UI thinking or duplicate content when multiple think after tools call ( #5217 )
...
* fix: update id streaming content think
* fix: glitch UI or duplicate content when multiple thinking
2025-06-09 11:36:36 +07:00
Faisal Amir
44b5310a6a
fix/pretify json when paste content ( #5216 )
2025-06-09 11:04:29 +07:00
Louis
46c7f02827
fix: avoid spamming server restarts ( #5212 )
2025-06-07 11:54:35 +07:00
Louis
b72259d78f
chore: trim all mcp server configs before saving ( #5211 )
2025-06-07 00:55:12 +07:00
Louis
1fa9f4e731
fix: should not show vulkan options in cpu only mode ( #5210 )
2025-06-07 00:55:01 +07:00
Louis
c444643294
fix: path resolver in windows ( #5209 )
v0.5.18-rc1-beta
2025-06-06 17:26:08 +07:00
Nguyen Ngoc Minh
19bcce80fa
ci: update file size tauri build template macos and windows ( #5208 )
...
* chore: update filesize latest-mac.yaml
* chore: disable createUpdaterArtifacts as handled on ci
* chore: update file size latest.yaml
2025-06-06 16:02:09 +07:00
Louis
cceae09fef
fix: load threads from api instead of states ( #5206 )
2025-06-06 13:16:29 +07:00
Faisal Amir
2feba874ef
fix: force provider avatar to render in high quality ( #5203 )
2025-06-06 08:56:29 +07:00
Louis
b85bce8e09
fix: migrate provider settings ( #5205 )
...
* chore: fix migrate api key
* chore: add logs
* chore: deprecate migration step
* chore: clean up
* fix: key apply
2025-06-05 20:25:43 +07:00
David
81f1d644e1
Merge pull request #5204 from menloresearch/fix/mcp-file-system
...
Fix: mcp server file system missing param
2025-06-05 15:00:19 +07:00
Faisal Amir
ac8a3b4f96
feat: store last use model ( #5201 )
2025-06-05 14:32:22 +07:00
David
3cdbff53eb
fix: file system mcp server missing param
2025-06-05 14:32:10 +07:00
Faisal Amir
a84034c552
chore: thinking block auto collapse when streaming finish ( #5202 )
...
* chore: thinking block auto collapse when streaming finish
* chore: fix padding
2025-06-05 14:29:33 +07:00
Faisal Amir
8ee4969aa9
fix: dropdown model position ( #5199 )
2025-06-05 12:07:43 +07:00
Faisal Amir
2588c3fa55
fix: truncate tool name ( #5198 )
...
* fix: truncate tool name
* fix: border hub search
2025-06-05 00:47:11 +07:00
Sam Hoang Van
9c9a9cb521
feat: integrate fuzzy search into model dropdown ( #5197 )
...
* feat: integrate fuzzy search into model dropdown
- Replace DropdownMenu with Popover for better search UX
- Include search input with clear functionality
- Reorganize layout with capabilities at end of row
- Maintain provider grouping and model selection functionality
Improves model discovery and selection with instant search across
model names, providers, and capabilities.
* chore: enhance input search style
* feat: enhance model dropdown with search highlighting and fixed positioning
- Add FZF search highlighting with text-accent color for matched characters
- Fix dropdown to only appear below (prevent upward positioning)
- Import highlightFzfMatch utility for search result highlighting
- Update SearchableModel interface to include highlightedId property
- Modify FZF selector to target model.id for more accurate highlighting
- Use dangerouslySetInnerHTML to render highlighted search matches
- Add avoidCollisions=false to PopoverContent for consistent positioning
---------
Co-authored-by: Faisal Amir <urmauur@gmail.com>
2025-06-05 00:30:38 +07:00
Louis
fb7dc21135
chore: update MCP servers list ( #5195 )
...
* chore: update MCP servers list
* chore: rename
* chore: attempt to stop models before updating
* chore: clean up logs
* chore: fix bug refresh
2025-06-04 21:47:27 +07:00
David
f97a51b34d
Merge pull request #5196 from menloresearch/fix/add-missing-default-host-ip
...
fix: add missing default host ip
2025-06-04 20:42:32 +07:00
David
534a673c51
fix: add missing default host ip
2025-06-04 20:08:41 +07:00
Louis
cb3ac4b136
feat: Jan API Server should have API Key setting ( #5193 )
...
* feat: Jan API Server should have API Key setting
* chore: reveal api key icon
* Update src-tauri/src/core/server.rs
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* chore: add validation apiKey
---------
Co-authored-by: Faisal Amir <urmauur@gmail.com>
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-04 18:04:47 +07:00
Faisal Amir
da10502bdd
fix: remind me later updater ( #5191 )
...
* fix: remind me later app updater
* chore: update state app updater
* chore sync state
2025-06-04 15:35:38 +07:00
Louis
6faca3e732
refactor: remove JS server package ( #5192 )
...
* refactor: remove js server package
* chore: migrate HF token data
2025-06-04 15:33:35 +07:00
David
30acc6f493
Merge pull request #5186 from menloresearch/fix/headers-validations-for-local-api-server
...
Fix: headers validations for local api server
2025-06-04 12:45:38 +07:00
Faisal Amir
a88da16edc
chore: hide some model capabilities ( #5189 )
...
* chore: hide some model capabilities
* chore: update model setting description
* chore: disable vision and embedding and add tooltip
---------
Co-authored-by: Louis <louis@jan.ai>
2025-06-04 12:11:16 +07:00
Faisal Amir
7ca57e1fa7
fix: hub refresh state ( #5190 )
2025-06-04 12:11:03 +07:00
David
b674a521f2
fix: validate trusted hosts for local api server
2025-06-04 11:50:51 +07:00
Louis
a3e78dd563
refactor: clean up migrations ( #5187 )
2025-06-04 00:41:14 +07:00
Louis
171b1e8c60
fix: handle tool availability states ( #5183 )
...
* fix: handle tool availability states
* Update web-app/src/hooks/useToolAvailable.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update web-app/src/hooks/useToolAvailable.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* Update web-app/src/hooks/useToolAvailable.ts
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
* fix: hub refresh
---------
Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-06-04 00:17:39 +07:00