Faisal Amir
5b7f0c1308
test: update test coverage UI component Joi ( #3707 )
...
* test: update test coverage joi
* test: update test export all components
* test: update clear mock useOs
* test: remove delete global window during test case getInitialValue
* test: update getValueInEffect with mock userAgent
2024-09-23 12:46:50 +07:00
Faisal Amir
3091bb0e5e
fix: remove title local API server page ( #3710 )
2024-09-23 12:46:38 +07:00
Faisal Amir
9471481e33
fix: thread title for remote model from first prompt ( #3712 )
...
* fix: generate title using first prompt for remote model
* fix: disable react-hooks/exhaustive-deps
2024-09-20 18:15:06 +07:00
Louis
302b73ae73
test: add web helpers, services, utils tests ( #3669 )
...
* test: add web helpers tests
* fix: coverage report
* test: add more tests
* test: add more generated tests
* chore: add more tests
* test: add more tests
2024-09-20 14:24:51 +07:00
Faisal Amir
1aefb8f7ab
fix: enhance several minor UI ( #3706 )
2024-09-20 10:06:37 +07:00
Faisal Amir
194093d95d
fix: update the condition for generating the title ( #3702 )
2024-09-20 10:06:20 +07:00
Nicole Zhu
17be901d1a
Merge pull request #3694 from janhq/copyfix
...
chore: Copyfix
2024-09-19 11:32:47 +08:00
Faisal Amir
ba3c07eba8
feat: textarea auto resize ( #3695 )
...
* feat: improve textarea user experience with autoresize
* chore: remove log
* chore: update test
* chore: update test and cleanup logic useEffect
2024-09-19 10:10:30 +07:00
Faisal Amir
8fe376340a
chore: fix linter issue CI
2024-09-19 10:06:27 +07:00
0xSage
cfe657faf5
fix: linter
2024-09-18 17:46:53 +08:00
0xSage
062af9bcda
nits
2024-09-18 17:42:35 +08:00
Nicole Zhu
338232b173
Merge branch 'dev' into copyfix
2024-09-18 17:03:11 +08:00
0xSage
3949515c8a
chore: copy nits
2024-09-18 17:02:41 +08:00
Faisal Amir
c62b6e9842
fix: small leftover issues with new starter screen ( #3661 )
...
* fix: fix duplicate render progress component
* fix: minor ui issue
* chore: add manual recommend model
* chore: make button create thread invisible
* chore: fix conflict
* chore: remove selector create thread icon
* test: added unit test thread screen
2024-09-17 22:13:18 +07:00
Louis
031b3517dc
Fix : #1142 setting groups toggle does not turn off it's nested settings ( #3681 )
...
* fix : #1142 - Toggle off experimental toggle does not turn off gated features
* test: add tests
2024-09-17 18:17:23 +07:00
Louis
8e603bd5db
fix : #3476 - Mismatch id between model json and path ( #3645 )
...
* fix: mismatch between model json and path
* chore: revert preserve model settings
* test: add tests
2024-09-17 16:43:47 +07:00
Louis
c3cb192486
fix : #3667 - The recommended label should be hidden ( #3687 )
2024-09-17 16:09:38 +07:00
Louis
c8a08f1115
fix: correct prompt template for Phi3 Medium model ( #3670 )
2024-09-17 09:25:55 +07:00
Ronnie Ghose
670013baa0
Add support for 'o1-preview' and 'o1-mini' models ( #3659 )
...
Add support for 'o1-preview' and 'o1-mini' model names in the OpenAI API.
* **Update `models.json`**:
- Add 'o1-preview' model details with appropriate parameters and metadata.
- Add 'o1-mini' model details with appropriate parameters and metadata.
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/janhq/jan?shareId=XXXX-XXXX-XXXX-XXXX ).
2024-09-17 09:25:08 +07:00
Louis
98bef7b7cf
test: add model parameter validation rules and persistence tests ( #3618 )
...
* test: add model parameter validation rules and persistence tests
* chore: fix CI cov step
* fix: invalid model settings should fallback to origin value
* test: support fallback integer settings
2024-09-17 08:34:58 +07:00
Louis
daf372f7ec
Merge pull request #3665 from janhq/fix/phi3-medium-prompt-template
...
fix: correct prompt template for Phi3 Medium model
v0.5.4
2024-09-16 15:44:24 +07:00
Louis
4087b94d97
fix: correct prompt template for Phi3 Medium model
2024-09-16 14:59:36 +07:00
Louis
6e0c582f1e
Merge pull request #3664 from janhq/dev
...
release: Jan Release cut v0.5.4
2024-09-16 13:50:28 +07:00
Faisal Amir
3ffaa1ef7f
chore: temporary disabled starter screen ( #3663 )
...
* chore: temporary disabeld starter screen
* chore: create useStarter screen
* chore: fix typo
* chore: update config starter screen
* chore: update comment code
* chore: renmove some commented code
2024-09-16 11:17:36 +07:00
Faisal Amir
0cce4a0c83
fix: issue responsive and missing size on starter screen ( #3644 )
...
* fix: issue responisve and missing size on starter screen
* chore: fix click outside
* chore: mock function useclickoutside element
* chore: update web jest config directory
* chore: remove dir setup jest web
* chore: remove baseUrl tsconfig web
* chore: change how we shod featured model
* chore: remove min size
2024-09-13 23:51:47 +07:00
Louis
ba1ba89fa3
fix: change Phi-3 Mini Instruct 4K to cortexso repository ( #3655 )
...
* fix: change Phi-3 Mini Instruct 4K to cortexso repository
* chore: correct model names
* fix: Phi3-Medium prompt correction
* chore: bump versions
* chore: take out some feature tags
2024-09-13 17:19:00 +07:00
Louis
592b3e69a5
chore: deprecate preserve thread settings ( #3654 )
2024-09-13 15:05:50 +07:00
hiento09
e139f88c0a
Upgrade actions/upload-artifact@v2 to actions/upload-artifact@v4 ( #3650 )
...
Co-authored-by: Hien To <tominhhien97@gmail.com>
2024-09-13 13:02:11 +07:00
Faisal Amir
2599f31115
fix: prevent value empty string on slider right panel ( #3635 )
...
* fix: prevent value empty string on slider right panel
* chore: add build joi into test electron linter
2024-09-12 09:45:46 +07:00
Louis
5217437912
fix : #3549 , #3552 - Inference on CPU is slower on Jan 0.5.3 ( #3602 )
2024-09-11 14:03:53 +07:00
Louis
2d05134cb1
test: add tests to model settings's Slider Input ( #3615 )
...
* test: add tests to model settings's Slider Input
* test: add slider test
* test: fix expectation
* test: correct slider test
2024-09-10 16:36:29 +07:00
Faisal Amir
ac67247636
test: finished all ui components test ( #3588 )
...
* test: finished all ui components test
* chore: update naming of mock handle change modal test
2024-09-09 16:47:47 +07:00
Faisal Amir
fe9936cf5b
fix: missing type number for slider input right panel ( #3609 )
2024-09-09 16:46:36 +07:00
Nicole Zhu
6956ed1e1c
Merge pull request #3605 from janhq/bugreport
...
chore: fix issue creation templates
2024-09-09 15:33:57 +08:00
0xSage
9eee7dca52
idea
2024-09-09 15:33:10 +08:00
0xSage
71c5c52c54
nit
2024-09-09 15:32:21 +08:00
0xSage
85d90865cc
add url
2024-09-09 14:59:24 +08:00
0xSage
e614702d18
Merge branch 'bugreport' of https://github.com/janhq/jan into bugreport
2024-09-09 13:40:41 +08:00
0xSage
163952b914
discussions
2024-09-09 13:40:33 +08:00
Nicole Zhu
882af35e03
Merge branch 'dev' into bugreport
2024-09-09 13:36:05 +08:00
0xSage
e31921ba4d
nit
2024-09-09 13:34:38 +08:00
0xSage
1c9342fc08
add model request form
2024-09-09 13:30:44 +08:00
0xSage
48b2773c8f
chore: fix bug template
2024-09-09 13:06:20 +08:00
Faisal Amir
ecf83d03c5
chore: update copy when retrieval turn off ( #3585 )
2024-09-09 09:39:46 +07:00
Louis
3ddb32e2c7
test: fix import from components ( #3581 )
2024-09-06 15:36:50 +07:00
Louis
846efb3126
test: add core modules test cases ( #3498 )
...
* chore: add core module test cases
* chore: fix tests
* chore: add code coverage report
* chore: split coverage step
* chore: split coverage step
* Update jan-electron-linter-and-test.yml
* Update jan-electron-linter-and-test.yml
* Update jan-electron-linter-and-test.yml
* chore: update tests
* chore: add web utils test cases
* chore: add restful and helper tests
* chore: add tests
2024-09-06 11:14:28 +07:00
Faisal Amir
f759fae55f
feat: enable model dropdown search by configured model ( #3466 )
2024-09-05 14:10:41 +07:00
Faisal Amir
1ffb7f213d
chore: setup jest for unit test hooks and component from joi ( #3540 )
...
* chore: setup jest for unit test hooks and component from joi
* chore: update gitignore
* chore: exclude jest setup file from tsconfig
2024-09-05 11:41:15 +07:00
Faisal Amir
edf5c77dd6
chore: copy edit for model setting ( #3553 )
...
* chore: copy edit for model setting
* chore: make a const for copy accordion
2024-09-05 09:54:52 +07:00
Faisal Amir
fb01216ae2
fix: disabled UI RAG and tools ( #3514 )
...
* fix: UI RAG & tools do not support for remote models
* chore: update dependencies hooks
2024-09-05 09:54:03 +07:00