A serverless, AI-powered deep research agent built with Cloudflare Workers and Google Gemini 2.5
This commit introduces a feature that allows you to provide initial data/learnings when creating a new deep research project. Key changes: - Added an optional "Initial Learnings" textarea to the new research page. - Updated the `ResearchType` and `ResearchTypeDB` types to include an `initialLearnings` field. - Modified the `CreateResearch` component in `src/templates/layout.tsx` to include the new textarea and pass its value during form submission. - Updated `src/static/core.js` to handle the new field in the form. - Modified the `ResearchWorkflow` in `src/workflows.ts` to: - Receive `initialLearnings` from the event payload. - Split the `initialLearnings` string by newlines. - Pass the resulting array to the `deepResearch` function to prefill the learnings. This allows you to seed the research process with existing knowledge, potentially leading to more focused and relevant reports.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by G4brym and has received 0 comments.