forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits

postRagThread.ts7 lines, 348 bytesHistoryRawDownload
1import { client } from "../client";
2import type { RagThread } from "../client";
3
4/** Blank counts as absent — an untitled thread is normal, labelled from its first turn. */
5export function postRagThread(title?: string | null): Promise<RagThread> {
6 return client<RagThread>("/rag/threads", { method: "POST", body: { title: title ?? null } });
7}