@tunnelbox/core 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/messages.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -1643,7 +1643,7 @@ async function printPairing(code, type, name, lang) {
|
|
|
1643
1643
|
}
|
|
1644
1644
|
|
|
1645
1645
|
// src/messages.ts
|
|
1646
|
-
var DEFAULT_PAGE_SIZE =
|
|
1646
|
+
var DEFAULT_PAGE_SIZE = 20;
|
|
1647
1647
|
var MAX_PART_TEXT = 16e3;
|
|
1648
1648
|
var MAX_PART_ARGS = 4e3;
|
|
1649
1649
|
var MAX_PAGE_BYTES = 15e5;
|
package/package.json
CHANGED
package/src/messages.ts
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import type { ChatMessage, Part } from "./types";
|
|
20
20
|
|
|
21
|
-
/**
|
|
22
|
-
export const DEFAULT_PAGE_SIZE =
|
|
21
|
+
/** 单页默认条数(手机端首屏/每次"加载更早"的展示窗口)。 */
|
|
22
|
+
export const DEFAULT_PAGE_SIZE = 20;
|
|
23
23
|
|
|
24
24
|
/** 单条 part 文本(text/thinking)展示上限(字符)。 */
|
|
25
25
|
export const MAX_PART_TEXT = 16000;
|