199 Commits

Author SHA1 Message Date
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
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
Faisal Amir
82736c96b1
chore: fix wrong classname color text (#5252) 2025-06-12 14:03:45 +07:00
Louis
079f206044
fix: avoid persisting threads and messages on local storage (#5249) 2025-06-12 09:10:00 +07:00
Faisal Amir
3accef8c92
fix: minor ui (#5247) 2025-06-12 09:04:47 +07:00
Faisal Amir
e33a37776f
fix: tool call block width code (#5246) 2025-06-12 00:53:27 +07:00
Faisal Amir
d2e88ffdc4
fix: update style cortex dialog (#5245) 2025-06-12 00:09:19 +07:00
David
35a0a4e9a5
Merge pull request #5244 from menloresearch/chore/enhance-hub-guide
chore: enhance hub guide
2025-06-11 21:55:15 +07:00
Faisal Amir
ab5ce6e774
fix: update hgf jan nano (#5242) 2025-06-11 21:54:55 +07:00
David
6152afaed5 chore: enhance hub guide 2025-06-11 21:41:20 +07:00
Faisal Amir
7b59aa32f9
chore: onboarding local model (#5234)
* chore: simple onboarding local model

* chore: update new model and improve flow e2e onboarding local model

* fix: default tool support models

---------

Co-authored-by: Louis <louis@jan.ai>
2025-06-11 18:38:07 +07:00
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
sam hoang
6f030f720a
feat(local-api-server): add button to open API documentation and improve layout 2025-06-11 11:46:04 +07:00
Louis
1799bfed3f
chore: temporary disable web response 2025-06-10 18:36:48 +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
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
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
Faisal Amir
ac8a3b4f96
feat: store last use model (#5201) 2025-06-05 14:32:22 +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
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