Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit d9646e3

Browse files
committed
Merge branch 'dev' into feat/installer-windows
2 parents 25cab6a + 8c5fe88 commit d9646e3

29 files changed

+957
-348
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: "\U0001F41B Bug Report"
2+
description: "If something isn't working as expected \U0001F914"
3+
labels: [ "type: bug" ]
4+
title: 'bug: [DESCRIPTION]'
5+
6+
body:
7+
- type: input
8+
validations:
9+
required: true
10+
attributes:
11+
label: "Cortex version"
12+
description: "**Tip:** The version is in the app's bottom right corner"
13+
14+
- type: textarea
15+
validations:
16+
required: true
17+
attributes:
18+
label: "Describe the Bug"
19+
description: "A clear & concise description of the bug"
20+
21+
- type: textarea
22+
attributes:
23+
label: "Steps to Reproduce"
24+
description: |
25+
Please list out steps to reproduce the issue
26+
placeholder: |
27+
1. Go to '...'
28+
2. Click on '...'
29+
30+
- type: textarea
31+
attributes:
32+
label: "Screenshots / Logs"
33+
description: |
34+
You can find logs in: ~/cortex/logs
35+
36+
- type: checkboxes
37+
attributes:
38+
label: "What is your OS?"
39+
options:
40+
- label: MacOS
41+
- label: Windows
42+
- label: Linux
43+
44+
- type: checkboxes
45+
attributes:
46+
label: "What engine are you running?"
47+
options:
48+
- label: cortex.llamacpp (default)
49+
- label: cortex.tensorrt-llm (Nvidia GPUs)
50+
- label: cortex.onnx (NPUs, DirectML)

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## To encourage contributors to use issue templates, we don't allow blank issues
2+
blank_issues_enabled: true
3+
4+
contact_links:
5+
- name: "\1F4AC Cortex Discussions"
6+
url: "https://github.com/orgs/janhq/discussions/categories/q-a"
7+
about: "Get help, discuss features & roadmap, and share your projects"

.github/ISSUE_TEMPLATE/discussion-thread.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/epic-request.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@ assignees: ''
88
---
99

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

13-
**Success Criteria**
14-
A clear and concise description of what you want to happen.
1512

16-
**Sub Issues**
13+
**Success Criteria**
1714
-
1815

19-
**Additional context**
20-
Add any other context or screenshots about the epic request here.
16+
**Tasklist**
17+
- [ ]

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: "\U0001F680 Feature Request"
2+
description: "Suggest an idea for this project \U0001F63B!"
3+
title: 'idea: [DESCRIPTION]'
4+
body:
5+
- type: textarea
6+
validations:
7+
required: true
8+
attributes:
9+
label: "Problem Statement"
10+
description: "Describe the problem you're facing"
11+
placeholder: |
12+
I'm always frustrated when ...
13+
14+
- type: textarea
15+
validations:
16+
required: true
17+
attributes:
18+
label: "Feature Idea"
19+
description: "Describe what you want instead. Examples are welcome!"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "\U0001F929 Model Request"
2+
description: "Request a new model to be compiled"
3+
title: 'feat: [DESCRIPTION]'
4+
labels: 'type: model request'
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: "**Tip:** Download any model with `cortex pull HUGGINGFACE_MODEL_ID`. Use this form for unsupported models only."
9+
- type: textarea
10+
validations:
11+
required: true
12+
attributes:
13+
label: "Model Requests"
14+
description: "If applicable, include the source URL, licenses, and any other relevant information"
15+
- type: checkboxes
16+
attributes:
17+
label: "Which formats?"
18+
options:
19+
- label: GGUF (llama.cpp)
20+
- label: TensorRT (TensorRT-LLM)
21+
- label: ONNX (Onnx Runtime)

engine/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ if(DEFINED CMAKE_JS_INC)
8686
# define NPI_VERSION
8787
add_compile_definitions(NAPI_VERSION=8)
8888
endif()
89-
89+
9090
add_compile_definitions(CORTEX_VARIANT="${CORTEX_VARIANT}")
9191
add_compile_definitions(CORTEX_CPP_VERSION="${CORTEX_CPP_VERSION}")
9292
add_compile_definitions(CORTEX_CONFIG_FILE_PATH="${CORTEX_CONFIG_FILE_PATH}")
@@ -115,6 +115,7 @@ if(DEFINED CMAKE_JS_INC)
115115

116116
add_library(${PROJECT_NAME} SHARED addon.cc
117117
${CMAKE_CURRENT_SOURCE_DIR}/utils/cpuid/cpu_info.cc
118+
${CMAKE_CURRENT_SOURCE_DIR}/utils/file_logger.cc
118119
${CMAKE_JS_SRC}
119120
)
120121

@@ -131,6 +132,7 @@ if(DEFINED CMAKE_JS_INC)
131132
else() # Official build
132133
add_executable(${PROJECT_NAME} main.cc
133134
${CMAKE_CURRENT_SOURCE_DIR}/utils/cpuid/cpu_info.cc
135+
${CMAKE_CURRENT_SOURCE_DIR}/utils/file_logger.cc
134136
)
135137
endif()
136138

0 commit comments

Comments
 (0)