Load the lead's scrollback 50 turns at a time
This commit is contained in:
Vendored
+2
-1
@@ -1,6 +1,6 @@
|
||||
import { post } from "./api.js";
|
||||
import { h } from "./dom.js";
|
||||
import { currentLead, leadLoading, state } from "./state.js";
|
||||
import { currentLead, leadHasOlder, leadLoading, loadOlderLead, state } from "./state.js";
|
||||
import { compactButton, mountChat } from "./task.js";
|
||||
const leadSource = {
|
||||
key: () => "lead",
|
||||
@@ -14,6 +14,7 @@ const leadSource = {
|
||||
transcriptTopic: "lead.transcript",
|
||||
streamTopic: "lead.stream",
|
||||
readyTopic: "lead.ready",
|
||||
older: { has: leadHasOlder, load: loadOlderLead },
|
||||
empty: "",
|
||||
canSend: () => true,
|
||||
placeholder: "Message your lead. Paste or drop images to attach them.",
|
||||
|
||||
Reference in New Issue
Block a user