openhands.server.routes.feedback
submit_feedback
@app.post('/submit-feedback')
async def submit_feedback(request: Request, conversation_id: str)
Submit user feedback.
This function stores the provided feedback data.
To submit feedback:
curl -X POST -d '{"email": "test@example.com"}' -H "Authorization:"
Arguments:
request
Request - The incoming request object.feedback
FeedbackDataModel - The feedback data to be stored.
Returns:
dict
- The stored feedback data.
Raises:
HTTPException
- If there's an error submitting the feedback.