🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
feat(ui): switch from plain follow up email to pylon follow up email (#12911)
Jannik Maierhöfer9a6d4a6284ca
diff --git a/web/src/features/support-chat/pylon/pylonClient.ts b/web/src/features/support-chat/pylon/pylonClient.tsindex 6e12fe1216..2ca008b17f 100644--- a/web/src/features/support-chat/pylon/pylonClient.ts+++ b/web/src/features/support-chat/pylon/pylonClient.ts@@ -46,7 +46,7 @@ export async function createPylonIssue(requester_email: requesterEmail,destination_metadata: {destination: "email",- email: "[email protected]",+ email: "[email protected]",},};diff --git a/web/src/features/support-chat/trpc/plainRouter.ts b/web/src/features/support-chat/trpc/plainRouter.tsindex 1a3e880326..7d6c94cbd7 100644--- a/web/src/features/support-chat/trpc/plainRouter.ts+++ b/web/src/features/support-chat/trpc/plainRouter.ts@@ -35,7 +35,6 @@ import {createAttachmentUploadUrls,createThread as plainCreateSupportThread,createThreadEvent,- replyToThread,generateTenantExternalId,syncTenantsAndTiers,syncCustomerTenantMemberships,@@ -292,40 +291,7 @@ export const plainRouter = createTRPCRouter({// best-effort; errors are logged in helpers}- // (5) Write user email as part of first reply to trigger email- await replyToThread(plain, {- threadId,- userEmail: email,- originalMessage: [- "Hi there,",- "",- " thanks for reaching out! We've received your request and will follow up as soon as possible.",- "",- "To help us move faster, feel free to reply to this email with:",- "- any error messages or screenshots",- "- links to where you're seeing the issue (trace, page, dataset)",- "- steps to reproduce (if relevant)",- "",- "Thanks,",- "",- "Team Langfuse",- "",- "",- "=============================================================================================",- "",- "",- `${email} wrote:`,- "",- input.message,- "",- "=============================================================================================",- "",- ].join("\n"),- attachmentIds: input.attachmentIds ?? [],- impersonate: false,- });-- // (6) Dual-write: create issue in Pylon (best-effort, blocking)+ // (5) Create issue in Pylon (best-effort, blocking)let pylonIssueFailed = false;if (env.PYLON_API_KEY) {try {