backend/routes/generate-thread-name.ts