mirror of
https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology.git
synced 2026-06-13 18:31:16 +08:00
feat: 提示窗流式文本预览+回调链路+自动淡出调整
This commit is contained in:
@@ -89,6 +89,7 @@ export async function extractMemories({
|
||||
extractPrompt,
|
||||
signal = undefined,
|
||||
settings = {},
|
||||
onStreamProgress = null,
|
||||
}) {
|
||||
throwIfAborted(signal);
|
||||
if (!messages || messages.length === 0) {
|
||||
@@ -184,6 +185,7 @@ export async function extractMemories({
|
||||
debugContext: createTaskLlmDebugContext(promptBuild, extractRegexInput),
|
||||
promptMessages: promptPayload.promptMessages,
|
||||
additionalMessages: promptPayload.additionalMessages,
|
||||
onStreamProgress,
|
||||
});
|
||||
throwIfAborted(signal);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user