MCPcopy
hub / github.com/Bistutu/FluentRead / procCoze

Function procCoze

userscripts.js:1932–1944  ·  view source on GitHub ↗
(node, respMap)

Source from the content-addressed store, hash-verified

1930
1931// 适配 coze
1932function procCoze(node, respMap) {
1933 let text = format(node.textContent);
1934 if (text && withoutChinese(text)) {
1935 // "Auto-saved 21:28:58"
1936 let autoSavedMatch = text.match(regex.autoSavedRegex);
1937 if (autoSavedMatch) {
1938 node.textContent = `自动保存于 ${autoSavedMatch[1]}:${autoSavedMatch[2]}:${autoSavedMatch[3]}`;
1939 return;
1940 }
1941
1942 processNode(node, textType.textContent, respMap);
1943 }
1944}
1945
1946
1947function procOpenai(node, respMap) {

Callers

nothing calls this directly

Calls 3

formatFunction · 0.85
withoutChineseFunction · 0.85
processNodeFunction · 0.85

Tested by

no test coverage detected