Skip to content

Commit

Permalink
style: Apply linter formatting to AIReplySection.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MrOrz committed Jan 26, 2025
1 parent 401f925 commit 663974b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/AIReplySection.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ const useStyles = makeStyles(theme => ({
function AIReplySection({ defaultExpand = false, aiReplyText = '', traceId }) {
const [expand, setExpand] = useState(defaultExpand);
const classes = useStyles();

const langfuseWeb = new LangfuseWeb({
publicKey: process.env.NEXT_PUBLIC_LANGFUSE_PUBLIC_KEY,
baseUrl: 'https://cloud.langfuse.com'
baseUrl: 'https://cloud.langfuse.com',
});

const handleVote = async (vote: 1 | -1) => {
await langfuseWeb.score({
traceId,
name: 'ai_reply_feedback',
value: vote === 1 ? 1 : 0
value: vote === 1 ? 1 : 0,
});
};

Expand Down

0 comments on commit 663974b

Please sign in to comment.