MCPcopy Create free account
hub / github.com/SensAI-PT/RAGMeUp / deleteChat

Function deleteChat

ui/node-react/client/src/api.js:155–162  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

153}
154
155export async function deleteChat(id) {
156 const res = await fetch(`${API_BASE}/chats/${id}`, {
157 method: 'DELETE',
158 headers: getHeaders(),
159 });
160 if (!res.ok) throw new Error('Failed to delete chat');
161 return res.json();
162}
163
164// Documents
165export async function getDocuments() {

Callers

nothing calls this directly

Calls 1

getHeadersFunction · 0.85

Tested by

no test coverage detected