diff --git a/app/(playground)/p/[agentId]/beta-proto/giselle-node/components/panel/feedback-block.tsx b/app/(playground)/p/[agentId]/beta-proto/giselle-node/components/panel/feedback-block.tsx index 0b625a47..705d3be4 100644 --- a/app/(playground)/p/[agentId]/beta-proto/giselle-node/components/panel/feedback-block.tsx +++ b/app/(playground)/p/[agentId]/beta-proto/giselle-node/components/panel/feedback-block.tsx @@ -18,7 +18,11 @@ export const FeedbackBlock = (props: { traceId: string }) => { const submit = (e) => { e.preventDefault(); - const lf = new Langfuse(); + const lf = new Langfuse({ + publicKey: process.env.NEXT_PUBLIC_LANGFUSE_PUBLIC_KEY, + secretKey: process.env.NEXT_PUBLIC_LANGFUSE_SECRET_KEY, + baseUrl: process.env.NEXT_PUBLIC_LANGFUSE_BASEURL, + }); lf.score({ traceId: props.traceId, name: "user_feedback", @@ -30,11 +34,12 @@ export const FeedbackBlock = (props: { traceId: string }) => { return (