Revert "feat(threads): paginate full history via summaries endpoint (#1022)" (#1037)

This reverts commit 2f47f1ced2.
This commit is contained in:
Willem Jiang
2026-03-09 16:25:08 +08:00
committed by GitHub
parent 2f47f1ced2
commit 46918f0786
7 changed files with 24 additions and 361 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import type { Message } from "@langchain/langgraph-sdk";
import type { AgentThread } from "./types";
export function pathOfThread(threadId: string) {
return `/workspace/chats/${threadId}`;
@@ -18,6 +19,6 @@ export function textOfMessage(message: Message) {
return null;
}
export function titleOfThread(thread: { values?: { title?: string | null } | null }) {
export function titleOfThread(thread: AgentThread) {
return thread.values?.title ?? "Untitled";
}