Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
978 commits
Select commit Hold shift + click to select a range
a043b9f
chore: refactor inference service (#1536)
vansangpfiev Oct 23, 2024
e394199
Merge pull request #1539 from janhq/j/update-openapi-reference-name
namchuai Oct 23, 2024
64b1d1e
ci: fix docusaurus (#1540)
hiento09 Oct 23, 2024
fd3f5cc
fix: incorrect downloadedBytes callback
namchuai Oct 23, 2024
f0f1e99
Update comment
namchuai Oct 23, 2024
4486408
Merge pull request #1542 from janhq/j/update-download-percentage-event
namchuai Oct 23, 2024
53e8f20
feat: add customize parameters to /v1/models/start (#1544)
vansangpfiev Oct 24, 2024
10b64ee
fix: remove embeddings from CLI help (#1543)
vansangpfiev Oct 24, 2024
22e344b
feat: Dockerfile (#1473)
hiento09 Oct 24, 2024
9fe0c6f
feat: add more parameters to /v1/models/start (#1545)
vansangpfiev Oct 24, 2024
a2a6550
fix: bypass model check for mmproj model (#1547)
vansangpfiev Oct 24, 2024
dd2fcfb
chore: copy edits
Oct 25, 2024
8ca2012
chore: update docker readme (#1552)
hiento09 Oct 25, 2024
8c14e43
fix: crash while downloading model
namchuai Oct 25, 2024
5ec0b4f
chore: update docker readme (#1553)
hiento09 Oct 25, 2024
113ea98
Merge pull request #1554 from janhq/j/fix-crash
namchuai Oct 25, 2024
8a6387f
fix: only set dll search path if don't use ENGINE_PATH (#1557)
vansangpfiev Oct 28, 2024
58247a0
new: cortex enterprise page and form
Oct 28, 2024
3c4eebd
new: cortex enterprise and form
Oct 28, 2024
a7a7b16
chore: add enteprise menu navbar and button action shedule a call
urmauur Oct 28, 2024
c7915cf
update: Announcement copy and link
Oct 28, 2024
2380153
Merge pull request #1558 from janhq/feature/cortex-enterprise
urmauur Oct 28, 2024
5ef68b7
fix: broken api-reference page
urmauur Oct 29, 2024
04c5c40
Merge pull request #1561 from janhq/fix/api-reference
urmauur Oct 29, 2024
00af979
feat: cortex pull and cortex engines install CLI uses API server (#1550)
vansangpfiev Oct 29, 2024
d856ab4
Merge branch 'dev' into copyfix
freelerobot Oct 29, 2024
106ddd4
Merge pull request #1549 from janhq/copyfix
Oct 29, 2024
6cda3ee
fix: add n_parallel to model yaml config (#1571)
vansangpfiev Oct 30, 2024
ee41d48
fix: engines install pre-release (#1577)
vansangpfiev Oct 30, 2024
b5051ed
Update README.md
Oct 30, 2024
09434de
add nightly- pulls llama.cpp everynight
gabrielle-ong Oct 30, 2024
20c7579
update: enterprise calendar to get in touch form
Oct 28, 2024
c9f3512
fix: form get in touch
urmauur Oct 30, 2024
30cef62
update models
gabrielle-ong Oct 30, 2024
4d82faf
remove quicklinks
gabrielle-ong Oct 30, 2024
c6c8e03
Merge pull request #1560 from janhq/feature/cortex-enterprise
urmauur Oct 30, 2024
d54a7f8
fix: remove package json root
urmauur Oct 30, 2024
75cf152
Merge pull request #1585 from janhq/fix/remove-package-json
urmauur Oct 30, 2024
2149180
Merge branch 'dev' into docs-readme
Oct 30, 2024
fcf2fb3
Merge pull request #1581 from janhq/docs-readme
Oct 30, 2024
616fbe8
chore: bug report template
gabrielle-ong Oct 29, 2024
4c3803a
chore: bug report template
gabrielle-ong Oct 29, 2024
6c53282
chore: remove embeddings from sidebar
gabrielle-ong Oct 29, 2024
2e66496
models page: remove onnx trt toggle
gabrielle-ong Oct 30, 2024
b600af9
hero logo: remove onnx trt, add model variants
gabrielle-ong Oct 30, 2024
280c94b
Remove discord links
gabrielle-ong Oct 30, 2024
9b7eb44
Remove beta/nightly/onnx/trt from quickstart
gabrielle-ong Oct 30, 2024
e6a5548
Quickstart additional commands
gabrielle-ong Oct 30, 2024
0a56d50
Overview - models
gabrielle-ong Oct 30, 2024
2c44b1e
chore: readme
gabrielle-ong Oct 30, 2024
8091ade
update chat completion object
nguyenhoangthuan99 Oct 30, 2024
041f6c6
Merge pull request #1586 from janhq/docs
Oct 30, 2024
a6dae38
chore: update margin list avail download
urmauur Oct 30, 2024
42d416a
Merge pull request #1588 from janhq/chore/margin-list-download
urmauur Oct 30, 2024
53d5c80
Update chat completion response api
nguyenhoangthuan99 Oct 30, 2024
52786d9
Merge branch 'dev' into feat/api-docs
nguyenhoangthuan99 Oct 30, 2024
57ed629
chore: add download success e2e test (#1556)
namchuai Oct 30, 2024
6d553f9
chore: bump vcpkg to 2024.10.21 Release 10b7a17 (#1580)
vansangpfiev Oct 31, 2024
9a024fb
Merge branch 'dev' into feat/api-docs
nguyenhoangthuan99 Oct 31, 2024
6293903
fix: add notification for future plan
nguyenhoangthuan99 Oct 31, 2024
cc6a303
Merge branch 'feat/api-docs' of github.com:janhq/cortex.cpp into feat…
nguyenhoangthuan99 Oct 31, 2024
a529cd2
add api swagger for server check health and terminate process
nguyenhoangthuan99 Oct 31, 2024
26f3d6f
fix: download engine does not show progress (#1592)
vansangpfiev Oct 31, 2024
07caf8e
Merge branch 'dev' into feat/api-docs
nguyenhoangthuan99 Oct 31, 2024
0ebada2
fix: cache total bytes for download event (#1598)
vansangpfiev Oct 31, 2024
601437d
fix: cache by download item id (#1599)
vansangpfiev Oct 31, 2024
f80edba
Merge branch 'dev' into feat/api-docs
nguyenhoangthuan99 Oct 31, 2024
166cdb5
fix: use download event type to listen ws on client side (#1601)
vansangpfiev Nov 1, 2024
f5fbad6
chore: add model name as a parameter support during import via API (#…
louis-jan Nov 1, 2024
f37ad6b
chore: beta version add discord notification (#1605)
hiento09 Nov 1, 2024
11cd87b
Feat e2e test cortexso hub (#1590)
hiento09 Nov 1, 2024
322a0cf
chore: notification discord add binary download url (#1607)
hiento09 Nov 1, 2024
f6978cd
chore: auto set pre-release for beta version
hiento09 Nov 1, 2024
43fbc52
chore: auto set pre-release for beta version (#1608)
hiento09 Nov 1, 2024
152b76f
fix: progress bar on CMD (#1609)
vansangpfiev Nov 1, 2024
f7e694a
Merge branch 'dev' into feat/api-docs
dan-menlo Nov 1, 2024
5802113
Merge pull request #1589 from janhq/feat/api-docs
dan-menlo Nov 1, 2024
02ae2c1
Refactor Cortex Docs structure
dan-menlo Nov 2, 2024
4d59e92
Update sidebars and OpenAPI spec
dan-menlo Nov 2, 2024
8c695c6
Merge branch 'dev' into d/cortex-docs-structure
dan-menlo Nov 2, 2024
6ca33f2
Merge branch 'd/cortex-docs-structure' of https://github.com/janhq/co…
dan-menlo Nov 2, 2024
d303c72
Scaffold key points for Hardware Awareness
dan-menlo Nov 2, 2024
5d8157b
Remove model.list
dan-menlo Nov 2, 2024
ca6ef40
Update links
dan-menlo Nov 2, 2024
58be664
Update broken links
dan-menlo Nov 2, 2024
267403e
Merge pull request #1612 from janhq/d/cortex-docs-structure
dan-menlo Nov 2, 2024
1b0e0f8
chore: add document for function calling
nguyenhoangthuan99 Nov 3, 2024
fd2a475
chore: add example on structure output
nguyenhoangthuan99 Nov 3, 2024
76d653f
fix: server uploads to temporary directory (#1610)
vansangpfiev Nov 4, 2024
5fde673
Merge branch 'dev' of github.com:janhq/cortex.cpp into dev
hiento09 Nov 4, 2024
1d53a8e
chore: add document for model vs engine
nguyenhoangthuan99 Nov 4, 2024
52f1aea
Merge branch 'dev' into chore/model-run-docs-update
nguyenhoangthuan99 Nov 4, 2024
bd38e71
Merge branch 'dev' of github.com:janhq/cortex.cpp into chore/model-ru…
nguyenhoangthuan99 Nov 4, 2024
6e11aa4
chore: model pull docs
namchuai Nov 4, 2024
7e83ab6
docs: docker installation instruction
hiento09 Nov 4, 2024
870fb47
update
namchuai Nov 4, 2024
e3eb215
chore: correct build steps (#1578)
vansangpfiev Nov 4, 2024
23c12e1
chore: change tag
vansangpfiev Nov 4, 2024
e72eec2
Update model.yml documentation
nguyenhoangthuan99 Nov 4, 2024
2559561
Merge branch 'dev' into chore/model-run-docs-update
nguyenhoangthuan99 Nov 4, 2024
d9b0856
update
namchuai Nov 4, 2024
df70397
chore: add Running Models tag
vansangpfiev Nov 4, 2024
815c077
fix: print error for models get non exists model (#1624)
vansangpfiev Nov 4, 2024
301dbe1
Merge branch 'dev' into chore/model-run-docs-update
nguyenhoangthuan99 Nov 4, 2024
5681ec6
chore: running models
vansangpfiev Nov 4, 2024
75d44ac
Merge branch 'chore/model-run-docs-update' of github.com:janhq/cortex…
nguyenhoangthuan99 Nov 4, 2024
a4df116
Update function calling note
nguyenhoangthuan99 Nov 4, 2024
4530042
chore: pulling models APIs
vansangpfiev Nov 4, 2024
d5d751a
chore: cortexrc docs update (#1620)
vansangpfiev Nov 4, 2024
f231e76
chore: add cortex.db architecture docs (#1619)
vansangpfiev Nov 4, 2024
b558009
chore: update structure output documentation
nguyenhoangthuan99 Nov 4, 2024
c483bcb
Merge branch 'dev' into chore/model-run-docs-update
nguyenhoangthuan99 Nov 4, 2024
82812a6
docs: installation linux instruction
hiento09 Nov 4, 2024
e3acf66
chore: updater docs (#1622)
vansangpfiev Nov 4, 2024
8961a0d
Merge pull request #1623 from janhq/j/update-model-pull-docs
namchuai Nov 4, 2024
5be4ec0
Cleanup CLI docs (remove chat, sidebar, nightly)
gabrielle-ong Nov 4, 2024
0ce34f8
chore: add more request body parameters for models start
vansangpfiev Nov 4, 2024
c9a2656
Update Chat completion api docs for llama-cpp supported params
nguyenhoangthuan99 Nov 4, 2024
5684fe6
chore: return model size after pulled (#1626)
louis-jan Nov 4, 2024
42f6ae0
Merge branch 'dev' into chore/model-run-docs-update
nguyenhoangthuan99 Nov 4, 2024
f7aa5fe
chore: models update request body
vansangpfiev Nov 4, 2024
2691cfc
chore: models update
vansangpfiev Nov 4, 2024
4589ce7
Merge branch 'dev' into chore/models-api
vansangpfiev Nov 4, 2024
bd740a0
docs: installation windows, macos instruction
hiento09 Nov 4, 2024
16ba286
chore: server description
vansangpfiev Nov 4, 2024
38cde94
Merge branch 'chore/models-api' of github.com:janhq/nitro into chore/…
vansangpfiev Nov 4, 2024
98a0438
minor documentation corrections (#1611)
MikeBirdTech Nov 4, 2024
55bbe0d
chore: add model import option parameter (#1627)
louis-jan Nov 4, 2024
afcbb87
typo remove nightly
gabrielle-ong Nov 4, 2024
6a36e90
docs: update cortex folder session
hiento09 Nov 4, 2024
8306b39
Merge branch 'dev' of github.com:janhq/cortex.cpp into dev
hiento09 Nov 4, 2024
ee97382
Merge branch 'dev' into docs/installation
hiento09 Nov 4, 2024
ae95f80
Merge branch 'dev' into chore/model-run-docs-update
nguyenhoangthuan99 Nov 4, 2024
611901a
Merge branch 'chore/model-run-docs-update' of github.com:janhq/cortex…
nguyenhoangthuan99 Nov 4, 2024
a5c0172
clean up models and engines, to refactor into separate pages
gabrielle-ong Nov 4, 2024
fe01a08
Merge branch 'dev' into feat/cli-docs-cleanup
Nov 4, 2024
7f52abe
Merge branch 'dev' into feat/cli-docs-models-engines
Nov 4, 2024
3c507fe
docs: different between nightly, beta and stablt
hiento09 Nov 4, 2024
a04a93a
docs: use tabs for multiple option in installation docs
hiento09 Nov 4, 2024
6b3795e
chore: adding engines docs
namchuai Nov 4, 2024
206650f
chore: update model's size on import (#1630)
louis-jan Nov 4, 2024
c0a115f
Merge branch 'dev' into chore/models-api
vansangpfiev Nov 5, 2024
c44fb59
Merge pull request #1615 from janhq/chore/model-run-docs-update
Nov 5, 2024
0942fc1
Merge pull request #1621 from janhq/docs/installation
Nov 5, 2024
5338a78
Merge pull request #1631 from janhq/j/engines-docs
Nov 5, 2024
f8bf674
Merge branch 'dev' of github.com:janhq/nitro into chore/models-api
vansangpfiev Nov 5, 2024
9cc9e5d
Merge branch 'chore/models-api' of github.com:janhq/nitro into chore/…
vansangpfiev Nov 5, 2024
5ca8257
Merge pull request #1625 from janhq/chore/models-api
Nov 5, 2024
fd6333f
Merge branch 'dev' into feat/cli-docs-cleanup
Nov 5, 2024
c4b2759
Merge branch 'dev' into feat/cli-docs-models-engines
Nov 5, 2024
59d4a6f
feat: engine management
namchuai Oct 24, 2024
c6bce45
add update engine
namchuai Oct 30, 2024
35c7b6c
store default engine to cortex.rc
namchuai Oct 30, 2024
94060ce
finalizing
namchuai Oct 31, 2024
212749d
temporary remove cli
namchuai Oct 31, 2024
526312a
remove v2 commands
namchuai Oct 31, 2024
6240fc2
Add API references
namchuai Oct 31, 2024
fd961ce
fix ci
namchuai Oct 31, 2024
ae508f3
fix downloading engines with progress bar
namchuai Nov 1, 2024
dc43f6d
add -m flag
namchuai Nov 4, 2024
192a25d
fix ci
namchuai Nov 4, 2024
2848539
clean up
namchuai Nov 4, 2024
7b22b5a
add filter for variant list
namchuai Nov 4, 2024
835a654
update ld_library_path
namchuai Nov 5, 2024
25fc6fd
add dylib for windows
namchuai Nov 5, 2024
4b693f5
add dylib for linux
namchuai Nov 5, 2024
a322bac
remove /models-sources slug
gabrielle-ong Nov 5, 2024
dfcf355
replace /hub/ to /capabilities/models/sources broken links
gabrielle-ong Nov 5, 2024
c053cdd
yarn lock typo
gabrielle-ong Nov 5, 2024
ae7d3b5
broken link for deprecated /cli/chat
gabrielle-ong Nov 5, 2024
4793b3a
fix: network installer macos not install llama-cpp engine (#1633)
hiento09 Nov 5, 2024
4398417
chore: fix color scalar sidebar
urmauur Nov 5, 2024
f2de4b7
Merge pull request #1634 from janhq/fix/force-color-scalar-sidebar
urmauur Nov 5, 2024
39509bc
Merge pull request #1629 from janhq/feat/cli-docs-models-engines
Nov 5, 2024
1becaff
Merge pull request #1628 from janhq/feat/cli-docs-cleanup
Nov 5, 2024
3e04350
Merge pull request #1546 from janhq/j/engine-management
namchuai Nov 5, 2024
46caedf
Feat/function calling (#1572)
nguyenhoangthuan99 Nov 5, 2024
678bb3e
remove Architecture page, becomes generated index
gabrielle-ong Nov 5, 2024
56e900e
remove API server, combine into basic usage
gabrielle-ong Nov 5, 2024
42cef69
add Curl commands to Basic Usage
gabrielle-ong Nov 5, 2024
1bb23ca
Merge pull request #1637 from janhq/feat/docs-cleanup
Nov 5, 2024
90bcb79
fix: make cortex-nightly update -v works again (#1645)
vansangpfiev Nov 6, 2024
c48c7ee
v1.0.1 QA template (22 Oct 2024)
gabrielle-ong Nov 6, 2024
312e206
v1.0.2 QA checklist (6 Nov)
gabrielle-ong Nov 6, 2024
9e0834d
remove validation for bug report additional info
gabrielle-ong Nov 6, 2024
58fc107
Merge pull request #1647 from janhq/chore/github-issue-template
Nov 6, 2024
0b75004
fix: cors
namchuai Nov 6, 2024
c047ef8
feat: add api for configuration
namchuai Nov 6, 2024
aec5351
remove log
namchuai Nov 6, 2024
cdfda3a
chore: update API references
namchuai Nov 6, 2024
01a5d76
add: cli API
namchuai Nov 6, 2024
38233d8
fix build
namchuai Nov 6, 2024
229be62
fix build windows
namchuai Nov 7, 2024
086de70
Merge pull request #1640 from janhq/j/fix-cors
namchuai Nov 7, 2024
bc9544a
chore: support loglevel when start server (#1636)
nguyenhoangthuan99 Nov 7, 2024
481dfb3
fix: ci github ratelimit (#1649)
hiento09 Nov 7, 2024
6b4f9a5
update api
namchuai Nov 7, 2024
f738363
check latest llamacpp when start
namchuai Nov 7, 2024
ef9a966
remove some warnings
namchuai Nov 7, 2024
a674b9c
update
namchuai Nov 7, 2024
c3837c5
update
namchuai Nov 8, 2024
ceeaf51
fix build windows
namchuai Nov 8, 2024
1c516f0
Feat cicd docker (#1646)
hiento09 Nov 8, 2024
639b89f
update
namchuai Nov 8, 2024
c7765ec
Merge pull request #1650 from janhq/j/update-engine-mng
namchuai Nov 8, 2024
505cac8
fix: ci beta (#1651)
hiento09 Nov 8, 2024
ed39e16
docs: add cors docs
namchuai Nov 8, 2024
f648f63
chore/embeddings-docs
nguyenhoangthuan99 Nov 8, 2024
c8eab8a
chore: add embedding capabilities
nguyenhoangthuan99 Nov 8, 2024
71da65f
chore: remove un developed file
nguyenhoangthuan99 Nov 8, 2024
85f574a
chore: update download event
namchuai Nov 8, 2024
aa71b87
fix: download progress
vansangpfiev Nov 8, 2024
09599ec
Merge pull request #1658 from janhq/j/update-download-event
namchuai Nov 8, 2024
3a15db1
fix: update default cors to localhost
namchuai Nov 8, 2024
3cec0e0
feat: automation test docker (#1653)
hiento09 Nov 8, 2024
f354af6
Merge pull request #1659 from janhq/j/set-default-cors
namchuai Nov 8, 2024
5ec3a59
fix: ci qualitygate (#1664)
hiento09 Nov 11, 2024
7cf62d5
Fix/gemma2 chat template (#1657)
nguyenhoangthuan99 Nov 11, 2024
ac9c113
Merge pull request #1654 from janhq/chore/embeddings-docs
Nov 12, 2024
f700ba7
fix: correct remaining time (#1669)
vansangpfiev Nov 12, 2024
4434391
fix: incorrect mapper upload engines api
luke-nguyen990 Nov 13, 2024
187850a
chore: disable unit tests due to model got removed
luke-nguyen990 Nov 13, 2024
a221930
chore: disable test by using prefix
luke-nguyen990 Nov 13, 2024
a6d6be3
Merge pull request #1674 from janhq/fix/incorrect-mapper-unload-engines
luke-nguyen990 Nov 13, 2024
a055f69
feat: Hardware API (#1593)
vansangpfiev Nov 13, 2024
3d02299
fix: install local with nvidia-driver unavailable (#1676)
vansangpfiev Nov 13, 2024
9f9d294
feat: add load/unload engine cli
namchuai Nov 13, 2024
a41001f
feat: simultaneous download
namchuai Nov 11, 2024
6a7d288
handle error download
namchuai Nov 12, 2024
8d7c5fa
update
namchuai Nov 13, 2024
4dbca80
fix build windows
namchuai Nov 13, 2024
916e29f
Merge pull request #1678 from janhq/j/add-load-unload-cli
namchuai Nov 14, 2024
ccb9273
fix: bypass check if activate GPU list is empty (#1682)
vansangpfiev Nov 14, 2024
ce7af64
chore: correct discord message notification (#1686)
hiento09 Nov 14, 2024
9ae7e39
fix: download progress
sangjanai Nov 14, 2024
461601b
update
namchuai Nov 14, 2024
c01df03
fix ci
namchuai Nov 14, 2024
4c110bf
fix: abort download
namchuai Nov 14, 2024
11aaf19
Merge pull request #1665 from janhq/j/simultaneous-download
namchuai Nov 15, 2024
481a092
fix: support user defined engine path
namchuai Nov 14, 2024
3bf5f87
Merge pull request #1687 from janhq/j/update-user-defined-engine-path
namchuai Nov 15, 2024
65876fb
fix: prevent download event update after stopped
namchuai Nov 15, 2024
24bebed
Merge pull request #1689 from janhq/j/prevent-update-event-after-stopped
namchuai Nov 15, 2024
ba4c625
cleanup github readme + upcoming features
gabrielle-ong Nov 15, 2024
0075e5f
chore: CORS CLI doc
gabrielle-ong Nov 15, 2024
7e1dd01
Merge branch 'dev' into j/add-docs-cors
Nov 15, 2024
3c7022c
chore: update the wrong command for running built-in models
paopa Nov 16, 2024
7bf3f8f
Merge pull request #1693 from paopa/chore/update-readme-for-running-b…
namchuai Nov 17, 2024
2a8f187
Merge pull request #1691 from janhq/docs/v1.0.3-docs
Nov 18, 2024
6892823
Merge pull request #1652 from janhq/j/add-docs-cors
namchuai Nov 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
173 changes: 173 additions & 0 deletions .github/ISSUE_TEMPLATE/QA_checklist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
---
name: QA Checklist
about: QA Checklist
title: 'QA: [VERSION]'
labels: 'type: QA checklist'
assignees: ''
---
**QA details:**

Version: `v1.0.x-xxx`

OS (select one)
- [ ] Windows 11 (online & offline)
- [ ] Ubuntu 24, 22 (online & offline)
- [ ] Mac Silicon OS 14/15 (online & offline)
- [ ] Mac Intel (online & offline)

--------

# 1. Manual QA (CLI)
## Installation
- [ ] it should install with local installer (default; no internet required during installation, all dependencies bundled)
- [ ] it should install with network installer
- [ ] it should install 2 binaries (cortex and cortex-server) [mac: binaries in `/usr/local/bin`]
- [ ] it should install with correct folder permissions
- [ ] it should install with folders: /engines /logs (no /models folder until model pull)
- [ ] It should install with Docker image https://cortex.so/docs/installation/docker/

## Data/Folder structures
- [ ] cortex.so models are stored in `cortex.so/model_name/variants/`, with .gguf and model.yml file
- [ ] huggingface models are stored `huggingface.co/author/model_name` with .gguf and model.yml file
- [ ] downloaded models are saved in cortex.db with the right fields: `model`, `author_repo_id`, `branch_name`, `path_to_model_yaml` (view via SQL)

## Cortex Update
- [ ] cortex -v should check output current version and check for updates
- [ ] cortex update replaces the app, installer, uninstaller and binary file (without installing cortex.llamacpp)
- [ ] `cortex update` should update from ~3-5 versions ago to latest (+3 to 5 bump)
- [ ] `cortex update` should update from the previous version to latest (+1 bump)
- [ ] `cortex update -v 1.x.x-xxx` should update from the previous version to specified version
- [ ] `cortex update` should update from previous stable version to latest
- [ ] it should gracefully update when server is actively running

## Overall / App Shell
- [ ] cortex returns helpful text in a timely* way (< 5s)
- [ ] `cortex` or `cortex -h` displays help commands
- [ ] CLI commands should start the API server, if not running [except
- [ ] it should correctly log to cortex-cli.log and cortex.log
- [ ] There should be no stdout from inactive shell session

## Engines
- [ ] llama.cpp should be installed by default
- [ ] it should run gguf models on llamacpp
- [ ] it should list engines
- [ ] it should get engines
- [ ] it should install engines (latest version if not specified)
- [ ] it should install engines (with specified variant and version)
- [ ] it should get default engine
- [ ] it should set default engine (with specified variant/version)
- [ ] it should load engine
- [ ] it should unload engine
- [ ] it should update engine (to latest version)
- [ ] it should update engine (to specified version)
- [ ] it should uninstall engines
- [ ] it should gracefully continue engine installation if interrupted halfway (partial download)
- [ ] it should gracefully handle when users try to CRUD incompatible engines (No variant found for xxx)
- [ ] it should run trtllm models on trt-llm [WIP, not tested]
- [ ] it shoud handle engine variants [WIP, not tested]
- [ ] it should update engines versions [WIP, not tested]

## Server
- [ ] `cortex start` should start server and output localhost URL & port number
- [ ] users can access API Swagger documentation page at localhost URL & port number
- [ ] `cortex start` can be configured with parameters (port, [logLevel [WIP]](https://github.com/janhq/cortex.cpp/pull/1636)) https://cortex.so/docs/cli/start/
- [ ] it should correctly log to cortex logs (logs/cortex.log, logs/cortex-cli.log)
- [ ] `cortex ps` should return server status and running models (or no model loaded)
- [ ] `cortex stop` should stop server

## Model Pulling
- [ ] Pulling a model should pull .gguf and model.yml file
- [ ] Model download progress should appear as download bars for each file
- [ ] Model download progress should be accurate (%, total time, download size, speed)
### cortex.so
- [ ] it should pull by built in model_ID
- [ ] pull by model_ID should recommend default variant at the top (set in HF model.yml)
- [ ] it should pull by built-in model_id:variant
### huggingface.co
- [ ] it should pull by HF repo/model ID
- [ ] it should pull by full HF url (ending in .gguf)
### Interrupted Download
- [ ] it should allow user to interrupt / stop download
- [ ] pulling again after interruption should accurately calculates remainder of model file size neeed to be downloaded (`Found unfinished download! Additional XGB needs to be downloaded`)
- [ ] it should allow to continue downloading the remainder after interruption

## Model Management
- [ ] it should list downloaded models
- [ ] it should get a local model
- [ ] it should update model parameters in model.yaml
- [ ] it should delete a model
- [ ] it should import models with model_id and model_path

## Model Running
- [ ] `cortex run <cortexso model>` - if no local models detected, shows `pull` model menu
- [ ] `cortex run` - if local model detected, runs the local model
- [ ] `cortex run` - if multiple local models detected, shows list of local models (from multiple model sources eg cortexso, HF authors) for users to select (via regex search)
- [ ] `cortex run <invalid model id>` should return gracefully `Model not found!`
- [ ] run should autostart server
- [ ] `cortex run <model>` starts interactive chat (by default)
- [ ] `cortex run <model> -d` runs in detached mode
- [ ] `cortex models start <model>`
- [ ] terminate StdIn or `exit()` should exit interactive chat

## Hardware Detection / Acceleration [WIP, no need to QA]
- [ ] it should auto offload max ngl
- [ ] it should correctly detect available GPUs
- [ ] it should gracefully detect missing dependencies/drivers
CPU Extension (e.g. AVX-2, noAVX, AVX-512)
GPU Acceleration (e.g. CUDA11, CUDA12, Vulkan, sycl, etc)

## Uninstallation / Reinstallation
- [ ] it should uninstall 2 binaries (cortex and cortex-server)
- [ ] it should uninstall with 2 options to delete or not delete data folder
- [ ] it should gracefully uninstall when server is still running
- [ ] uninstalling should not leave any dangling files
- [ ] uninstalling should not leave any dangling processes
- [ ] it should reinstall without having conflict issues with existing cortex data folders

--
# 2. API QA

## Checklist for each endpoint
- [ ] Upon `cortex start`, API page is displayed at localhost:port endpoint
- [ ] Endpoints should support the parameters stated in API reference (towards OpenAI Compatibility)
- [ ] https://cortex.so/api-reference is updated

## Endpoints
### Chat Completions
- [ ] POST `v1/chat/completions`
- [ ] Cortex supports Function Calling #295

### Engines
- [ ] List engines: GET `/v1/engines`
- [ ] Get engine: GET `/v1/engines/{name}`
- [ ] Install engine: POST `/v1/engines/install/{name}`
- [ ] Get default engine variant/version: GET `v1/engines/{name}/default`
- [ ] Set default engine variant/version: POST `v1/engines/{name}/default`
- [ ] Load engine: POST `v1/engines/{name}/load`
- [ ] Unload engine: DELETE `v1/engines/{name}/load`
- [ ] Update engine: POST `v1/engines/{name}/update`
- [ ] uninstall engine: DELETE `/v1/engines/install/{name}`

### Pulling Models
- [ ] Pull model: POST `/v1/models/pull` starts download (websockets)
- [ ] Pull model: `websockets /events` emitted
- [ ] Stop model download: DELETE `/v1/models/pull` (websockets)
- [ ] Stop model download: `websockets /events` stopped
- [ ] Import model: POST `v1/models/import`

### Running Models
- [ ] List models: GET `v1/models`
- [ ] Start model: POST `/v1/models/start`
- [ ] Stop model: POST `/v1/models/stop`
- [ ] Get model: GET `/v1/models/{id}`
- [ ] Delete model: DELETE `/v1/models/{id}`
- [ ] Update model: PATCH `/v1/models/{model}` updates model.yaml params

## Server
- [ ] CORs [WIP]
- [ ] health: GET `/healthz`
- [ ] terminate server: DELETE `/processManager/destroy`
--------
Test list for reference:
- #1357 e2e tests for APIs in CI
- #1147, #1225 for starting QA list
38 changes: 0 additions & 38 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

58 changes: 58 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: "\U0001F41B Bug Report"
description: "If something isn't working as expected \U0001F914"
labels: [ "type: bug" ]
title: 'bug: [DESCRIPTION]'

body:
- type: input
validations:
required: true
attributes:
label: "Cortex version"
description: "**Tip:** `cortex -v` outputs the version number"

- type: textarea
validations:
required: true
attributes:
label: "Describe the issue and expected behaviour"
description: "A clear & concise description of the issue encountered"

- type: textarea
attributes:
label: "Steps to Reproduce"
description: |
Please list out steps to reproduce the issue
placeholder: |
1. Go to '...'
2. Click on '...'

- type: textarea
attributes:
label: "Screenshots / Logs"
description: |
Please include cortex-cli.log and cortex.log files in: ~/cortex/logs/

- type: checkboxes
attributes:
label: "What is your OS?"
options:
- label: Windows
- label: Mac Silicon
- label: Mac Intel
- label: Linux / Ubuntu

- type: checkboxes
attributes:
label: "What engine are you running?"
options:
- label: cortex.llamacpp (default)
- label: cortex.tensorrt-llm (Nvidia GPUs)
- label: cortex.onnx (NPUs, DirectML)

- type: input
attributes:
label: "Hardware Specs eg OS version, GPU"
description:


7 changes: 7 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## To encourage contributors to use issue templates, we don't allow blank issues
blank_issues_enabled: true

contact_links:
- name: "\1F4AC Cortex Discussions"
url: "https://github.com/orgs/janhq/discussions/categories/q-a"
about: "Get help, discuss features & roadmap, and share your projects"
14 changes: 0 additions & 14 deletions .github/ISSUE_TEMPLATE/discussion-thread.md

This file was deleted.

57 changes: 49 additions & 8 deletions .github/ISSUE_TEMPLATE/epic-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,56 @@ labels: 'type: epic'
assignees: ''

---
## Goal

**Problem**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Success Criteria**
A clear and concise description of what you want to happen.
## Success Criteria

**Sub Issues**
-

**Additional context**
Add any other context or screenshots about the epic request here.
## Tasklist
- [ ]

## API / CLI Documentation
### API
#### 1. Feature
```
GET /v1/endpoint
```

Body:
```json
{
"key": "value"
}
```
**Response**
```json
200
{
}
Error
{
}
```

### CLI
#### 1. Feature
```
GET /v1/endpoint
```
Response:
```
```
#### Help Command
```
❯ cortex ...
Usage:
cortex [options] [subcommand]
Options:
-h,--help Print this help message and exit
... ...

Subcommands:
start Start a model by ID
... ...
```
17 changes: 0 additions & 17 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

Loading
Loading