jina-ai / jina-ai/node-DeepResearch
Location of current question
Open
- Dominant language
- TypeScript
- Stars
- 5.2k
- Forks
- 461
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
How is currentQuestion passed to the agent if it's a gap question? My understanding is that the chat messages only contain the user's original question, and I don't see a section in the system prompt.
I do see that when the "reflect" action is taken, then the new gap questions are included in the diary context entry, but this doesn't appear to be the case when an answer attempt fails and gap questions are generated.
In any case, how does the agent know which gap question is the current one?
Thanks
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.