fixed app exit
This commit is contained in:
parent
fd3ec20d40
commit
9350d13525
@ -1,5 +1,5 @@
|
||||
#Llama Runner Configuration
|
||||
#Tue Mar 24 10:22:47 CET 2026
|
||||
#Wed Mar 25 12:59:21 CET 2026
|
||||
windowHeight=1189
|
||||
windowWidth=711
|
||||
windowX=1849
|
||||
|
||||
@ -138,5 +138,25 @@
|
||||
"chatTemplateKwargs": "{\"enable_thinking\": true}",
|
||||
"ngl": -1,
|
||||
"fit": true
|
||||
},
|
||||
"GLM-Flash-UD-Q6KXL-180k": {
|
||||
"host": "0.0.0.0",
|
||||
"port": 3080,
|
||||
"parallel": 1,
|
||||
"threads": 99,
|
||||
"flashAttention": true,
|
||||
"kvUnified": true,
|
||||
"cacheTypeK": "q8_0",
|
||||
"cacheTypeV": "q8_0",
|
||||
"temperature": 0.6,
|
||||
"topP": 0.95,
|
||||
"topK": 20,
|
||||
"minP": 0.0,
|
||||
"ctxSize": 180000,
|
||||
"enableThinking": false,
|
||||
"modelPath": "/home/kamma/models/GLM-4.7-Flash-UD-Q6_K_XL.gguf",
|
||||
"chatTemplateKwargs": "{\"enable_thinking\": false}",
|
||||
"ngl": -1,
|
||||
"fit": true
|
||||
}
|
||||
}
|
||||
@ -85,6 +85,7 @@ public class Main extends JFrame {
|
||||
|
||||
setTitle("Llama Runner");
|
||||
setSize(appConfig.getWindowWidth(), appConfig.getWindowHeight());
|
||||
setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
|
||||
|
||||
// Set application icon
|
||||
try {
|
||||
@ -128,9 +129,9 @@ public class Main extends JFrame {
|
||||
addWindowListener(new WindowAdapter() {
|
||||
@Override
|
||||
public void windowClosing(WindowEvent e) {
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
saveWindowConfig();
|
||||
});
|
||||
saveWindowConfig();
|
||||
dispose();
|
||||
System.exit(0);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user