File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
apps/shinkai-desktop/src-tauri/src
local_shinkai_node/process_handlers Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ pub fn hardware_get_summary() -> HardwareSummary {
110
110
requirement_status = RequirementsStatus :: Recommended ;
111
111
} else if cpus >= MIN_CPUS && memory >= MIN_MEMORY {
112
112
requirement_status = RequirementsStatus :: Minimum ;
113
- } else if cpus >= STILL_USABLE_CPUS && ( is_macos && memory >= STILL_USABLE_MEMORY || memory > STILL_USABLE_MEMORY ) {
113
+ } else if cpus >= STILL_USABLE_CPUS && memory >= STILL_USABLE_MEMORY {
114
114
requirement_status = RequirementsStatus :: StillUsable ;
115
115
} else {
116
116
requirement_status = RequirementsStatus :: Unmeet ;
Original file line number Diff line number Diff line change @@ -35,9 +35,12 @@ impl ShinkaiNodeProcessHandler {
35
35
let mut model = "llama3:8b-instruct-q4_1" . to_string ( ) ;
36
36
let hardware_summary = hardware_get_summary ( ) ;
37
37
match hardware_summary. requirements_status {
38
- RequirementsStatus :: Unmeet | RequirementsStatus :: Minimum => {
38
+ RequirementsStatus :: Minimum => {
39
39
model = "phi3:3.8b" . to_string ( ) ;
40
40
}
41
+ RequirementsStatus :: StillUsable | RequirementsStatus :: Unmeet => {
42
+ model = "qwen2:1.5b-instruct-q4_K_M" . to_string ( ) ;
43
+ }
41
44
_ => { }
42
45
}
43
46
model
You can’t perform that action at this time.
0 commit comments