feat(ui): 添加 AI 聊天窗口功能

- 实现了一个可拖动、可扩展的 AI 聊天窗口
- 添加了输入框、输出框、动画边框等 UI 元素- 集成了 Markdown 渲染和数学公式支持
- 添加了全局快捷键支持,用于快速打开/关闭 AI 聊天窗口
- 优化了窗口大小调整和布局逻辑
This commit is contained in:
2025-03-15 21:02:35 +08:00
parent a787e9ed78
commit d19eb92e4a
6 changed files with 750 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ import org.apache.logging.log4j.Logger;
* @author tzdwindows 7
*/
public class LM {
public static boolean CUDA = false;
public static boolean CUDA = true;
public final static String DEEP_SEEK = FolderCreator.getModelFolder() + "\\DeepSeek-R1-Distill-Qwen-1.5B-Q8_0.gguf";
private static final Logger logger = LogManager.getLogger(LM.class);