firecrawl / firecrawl/firesearch

Citation source number is incorrect

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
495
Forks
105
PR merge metrics
No merged PRs in 30d

Description

_CitationTooltip_ number is corresponding to incorrect number in _SourcesList_, which means all numbers point to incorrect webpage.
In my success implementation, in firesearch/app/chat.tsx:
Edit From:

Edit To:

Edit From:

Edit To:

Also returns _processedSources_ in 'final-result' event, but I skip here for simplification.

It is welcome to commit another code anyway, but I found original _event.sources_ cannot be easily completely modify afterwards.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in firesearch/app/chat.tsx and inspect how CitationTooltip and SourcesList receive event data. Check the final-result event handling for processedSources, then reproduce a response with citations and verify that each displayed number opens the corresponding source webpage. Done means the tooltip and source list use matching citation numbering.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.