MCPcopy Create free account
hub / github.com/congde/emotional_chat / deleteSession

Method deleteSession

frontend/src/services/ChatAPI.js:199–207  ·  view source on GitHub ↗
(sessionId)

Source from the content-addressed store, hash-verified

197 }
198
199 static async getUserMemories(userId, limit = 3) {
200 const response = await axios.get(`${API_BASE_URL}/memory/users/${userId}/memories`, {
201 params: { limit }
202 });
203 return response.data;
204 }
205
206 static async searchUserMemories(userId, query, limit = 5) {
207 const response = await axios.get(`${API_BASE_URL}/memory/users/${userId}/memories/search`, {
208 params: { query, n_results: limit, days_limit: 3650 }
209 });
210 return response.data;

Callers 2

handleSingleDeleteFunction · 0.80
useSessionFunction · 0.80

Calls 2

errorMethod · 0.80
deleteMethod · 0.45

Tested by

no test coverage detected