|
|
@@ -621,11 +621,6 @@ export default async function handler(event: HookEvent) {
|
|
|
if (!text) return;
|
|
|
if (isMediaPlaceholder(text) && !transcriptNow) return;
|
|
|
|
|
|
- const recent = pushRecent(
|
|
|
- event.sessionKey || "global",
|
|
|
- text,
|
|
|
- pluginCfg.recentKeep
|
|
|
- );
|
|
|
|
|
|
const { captureTrigger, triggerPhrase } = pluginCfg;
|
|
|
let shouldCapture = false;
|
|
|
@@ -645,7 +640,7 @@ export default async function handler(event: HookEvent) {
|
|
|
event.sessionKey,
|
|
|
eventTs
|
|
|
);
|
|
|
- const userCaptureText = recent.join("\n");
|
|
|
+ const userCaptureText = text;
|
|
|
|
|
|
const captureMessages: Array<{ role: "user" | "assistant"; content: string }> = [
|
|
|
{ role: "user", content: userCaptureText },
|