Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shariq2003 committed Nov 5, 2024
1 parent 80224af commit b57b514
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions frontend/src/components/tools/GeminiChat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ const GeminiChat = () => {
}

const data = await res.json();

// Process the response to skip the first line (heading)
const responseLines = data.generatedText.split('\n');
const contentWithoutHeading = responseLines.slice(1).join('\n'); // Skip the first line

Expand Down

0 comments on commit b57b514

Please sign in to comment.