hezarfen_frontend
Clone
https://git.tahinli.com/archive/hezarfen_frontend.git
0 watching0 forksTypeScript5.5 MiBdcf123aBurak Boduroğlu2 months ago674 commits
| 1 | import { client } from "../client"; |
| 2 | import type { RagThread } from "../client"; |
| 3 | |
| 4 | /** Blank counts as absent — an untitled thread is normal, labelled from its first turn. */ |
| 5 | export function postRagThread(title?: string | null): Promise<RagThread> { |
| 6 | return client<RagThread>("/rag/threads", { method: "POST", body: { title: title ?? null } }); |
| 7 | } |