Skip to content

Commit

Permalink
fix: bad perf of follow-up
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Feb 20, 2025
1 parent 8b2f073 commit 0a0c48a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ function buildMdFromAnswer(answer: AnswerAction) {
const references = formatReferences(answer.references);

return `
${answer.answer} ${appendedCitations}
${answer.answer}
${appendedCitations}
${references}
`.trim();
Expand All @@ -93,7 +95,9 @@ ${references}
).join('');

return `
${answer.answer} ${unusedReferences}
${answer.answer}
${unusedReferences}
${formatReferences(answer.references)}
`.trim();
Expand Down

0 comments on commit 0a0c48a

Please sign in to comment.