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

Function getFeedback

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

Source from the content-addressed store, hash-verified

213
214// Feedback
215export async function getFeedback() {
216 const res = await fetch(`${API_BASE}/feedback`, { headers: getHeaders() });
217 if (!res.ok) throw new Error('Failed to fetch feedback');
218 return res.json();
219}
220
221export async function submitFeedback(chatId, messageOffset, feedback, feedbackText) {
222 const res = await fetch(`${API_BASE}/feedback`, {

Callers 1

FeedbackPage.jsFile · 0.90

Calls 1

getHeadersFunction · 0.85

Tested by

no test coverage detected