feat(browser): 新增 BrowserWindowJDialog 类并优化浏览器功能

- 新增 BrowserWindowJDialog 类,用于创建 JDialog 类型的浏览器窗口
- 优化 BrowserWindow 类,添加复制、粘贴功能- 新增 CefAppManager 类,用于管理 CefApp 实例
- 更新 build.gradle,添加新依赖项
This commit is contained in:
2025-04-30 17:50:20 +08:00
parent d53fe66e37
commit 4fa079a753
14 changed files with 1316 additions and 791 deletions

View File

@@ -136,22 +136,6 @@ public class LM {
String prompt,
String system,
MessageCallback messageCallback, boolean isContinue){
//if (isContinue){
// return inference(modelHandle,
// ctxHandle,
// temperature,
// 0.1f,
// 100,
// 0.9f,
// 0,
// 64,
// 1.1f,
// 0.0f,
// 0.0f,
// system + "用户:" + prompt + "\n请继续回答",
// messageCallback
// );
//}
return inference(modelHandle,
ctxHandle,
temperature,
@@ -163,7 +147,7 @@ public class LM {
1.1f,
0.0f,
0.0f,
"{问题}" + prompt,
prompt,
messageCallback
);
}