60 Commits

Author SHA1 Message Date
David Zhang
ad0c3d08d7 simplified 2025-03-07 13:52:35 -08:00
David Zhang
be18bc208d
Merge pull request #116 from aakashadesara/added_api_server
Added API Server
2025-03-07 11:33:25 -08:00
Aakash Adesara
d9221d50cf Added API Server 2025-03-06 12:08:59 -08:00
David Zhang
fc75a6d00e just major version of nvmrc 2025-02-16 17:27:59 -08:00
David Zhang
50a88cd3e5
Merge pull request #78 from guzus/fix/nvmrc
add .nvmrc (specify node version)
2025-02-16 17:02:39 -08:00
guzus
6d7222f226 add .nvmrc 2025-02-12 23:41:15 +09:00
David Zhang
7d32496c42
Merge pull request #68 from CharlesCNorton/patch-1
Update README.md
2025-02-11 11:38:23 -08:00
David Zhang
d5028799fb defaults to o3, will add better fallback for this in the future 2025-02-11 11:33:52 -08:00
David Zhang
55e5c1ee0e
Merge pull request #70 from rowellz/main
docker and readme tweaks
2025-02-11 11:33:20 -08:00
rowellz
6c4df26c16 docker and readme tweaks 2025-02-11 12:23:06 -05:00
CharlesCNorton
d5ffff4917
Update README.md
fix: correct typos in documentation

- Replace "overtime" with "over time": The term "overtime" typically refers to extra working hours, whereas "over time" correctly conveys the idea of gradual progression.

- Replace "sometime" with "sometimes": "Sometimes" is the correct adverb form to indicate occasional occurrence, ensuring clarity in the documentation.
2025-02-11 09:45:56 -05:00
David Zhang
0ae4bf0cb6 formatting 2025-02-09 21:41:28 -08:00
David Zhang
65efb000af
Merge pull request #48 from U-C4N/main
Progress Bar Improvements for Deep Research
2025-02-09 21:32:52 -08:00
David Zhang
385f9c5c22
Merge pull request #54 from Twixes/patch-1
Sync default depth&breadth in README with code
2025-02-09 17:55:37 -08:00
Michael Matloka
5a73882d98
Update default depth&breadth in README 2025-02-09 22:55:51 +00:00
Umut CAN
b1c8c7acf0 Progress Bar Improvements for Deep Research
Progress Bar Improvements for Deep Research
2025-02-09 23:06:44 +03:00
David Zhang
2ef450a43c simplified using other oai models 2025-02-08 19:38:21 -08:00
David Zhang
933f4df7fb
Merge pull request #34 from wowrakibul/patch-1
Enhance text-splitter.test.ts with better coverage and maintainability
2025-02-08 19:31:20 -08:00
David Zhang
86701fe7c0
Merge pull request #36 from vekoada/expand-alt-endpoint-instructions
Expand instructions for local LLM integration
2025-02-08 17:45:41 -08:00
vekoada
19dcddd865 Expand local LLM instructions 2025-02-08 16:39:30 -07:00
David Zhang
1307761744
Merge pull request #33 from eltociear/patch-1
chore: update deep-research.ts
2025-02-08 13:08:36 -08:00
Wow Rakibul
edbe584089
Enhance text-splitter.test.ts with better coverage and maintainability
## Problem
The current test file for the text splitter (`src/ai/text-splitter.test.ts`) had several limitations:
- Lacked comprehensive test coverage for edge cases
- Had repeated code setup in multiple test cases
- Missing explanatory comments for test scenarios
- Limited assertion coverage for boundary conditions

## Changes Made
1. **Improved Test Coverage:**
   - Added new test cases for special characters and large texts
   - Added boundary condition tests for chunkSize and chunkOverlap
   - Enhanced existing test cases with more assertions

2. **Code Refactoring:**
   - Extracted common setup code into `beforeEach` block
   - Improved variable naming for better clarity
   - Added descriptive comments explaining test scenarios

3. **Better Error Handling:**
   - Added explicit test for invalid configuration (chunkSize equal to chunkOverlap)
   - Enhanced assertion messages for better debugging

## Testing
- All existing tests pass
- New test cases validate edge scenarios
- Boundary conditions are properly tested

## Related Issues
Closes #[issue_number] (if applicable)
2025-02-09 02:28:23 +06:00
Ikko Eltociear Ashimine
7c7408770e
chore: update deep-research.ts
infromation -> information
2025-02-09 04:28:06 +09:00
David Zhang
34ec955903
Merge pull request #21 from 238SAMIxD/main
Fix docker config
2025-02-07 16:23:43 -08:00
Samuel Jędrzejewski
0d71aa9f07
prettier 2025-02-07 18:53:09 +01:00
Samuel Jędrzejewski
d533f63cb3
Added missing variables to .env.example 2025-02-07 18:48:30 +01:00
Samuel Jędrzejewski
16a71eaa3c
fix docker config 2025-02-07 18:32:13 +01:00
David Zhang
fad3022657 simplified and added note about custom models 2025-02-07 08:43:31 -08:00
David Zhang
f3cc28c2de
Merge pull request #10 from nasedkinpv/main
feat: add custom OpenAI endpoint and custom model support
2025-02-07 08:39:44 -08:00
David Zhang
744a467ef4
Merge pull request #11 from 238SAMIxD/main
Add Dockerfile and docker compose
2025-02-07 08:37:52 -08:00
Samuel Jędrzejewski
1405801e62
Updated readme 2025-02-07 02:58:16 +01:00
Samuel Jędrzejewski
4ecb445166
Update README.md 2025-02-07 02:54:57 +01:00
Samuel Jędrzejewski
32a6f3fb5f
fix .env 2025-02-07 02:49:19 +01:00
Samuel Jędrzejewski
5426e5b48e
add docker 2025-02-07 02:47:00 +01:00
Ben Nasedkin
59a8a977cb feat: add timeout error handling for deep research query processing
- Enhanced error logging in deepResearch to detect and log timeout errors specifically.
- Returns empty learnings and URLs on timeout or other errors, allowing graceful recovery.
2025-02-07 01:49:32 +02:00
Ben Nasedkin
6289c740a8 feat: use CONTEXT_SIZE env variable in trimPrompt function (default 128_000)
- Added CONTEXT_SIZE variable to .env.local.
- Updated trimPrompt in providers.ts to use Number(process.env.CONTEXT_SIZE) with a default of 128_000.
2025-02-07 01:46:28 +02:00
Ben Nasedkin
43869014d8 feat: add custom OpenAI endpoint and custom model support
- Added OPENAI_ENDPOINT in .env.local and retained default keys.
- Updated providers.ts to use baseURL from OPENAI_ENDPOINT.
- Conditionally override model names with OPENAI_MODEL when a custom endpoint is set.
- Supports custom provider configuration for local models via environment variables.
2025-02-07 01:35:20 +02:00
David Zhang
85451ce4fa formatting 2025-02-06 11:14:23 -08:00
David Zhang
3970af73e8 added sponsor note 2025-02-06 11:13:41 -08:00
David Zhang
a9891c263c added note about concurrency 2025-02-06 09:41:51 -08:00
David Zhang
b1b26a8ab9 added note 2025-02-05 11:04:42 -08:00
David Zhang
09453103e0 outputs to seperate file 2025-02-05 09:08:48 -08:00
David Zhang
d4968f3127 updated to a longer running report 2025-02-04 07:51:51 -08:00
David Zhang
69dc3ca754 updated prompts 2025-02-04 07:47:59 -08:00
David Zhang
3cdf551f0b updated prompts 2025-02-04 07:47:10 -08:00
David Zhang
8f9b22d1cd trimming prompt to avoid context overflow errors 2025-02-04 07:31:45 -08:00
David Zhang
ed920c03b3 simplified 2025-02-04 07:23:40 -08:00
David Zhang
c344602c05
Merge pull request #1 from alexboone29/main
feat: Added Support for Self-Hosted Firecrawl
2025-02-04 07:18:36 -08:00
alexboone
0ec269d701 feat: added support for self-hosted
Co-authored-by: Siddik <bitcentsup@gmail.com>
2025-02-03 20:41:00 -08:00
alexboone
4e7f73f317
Update .gitignore 2025-02-03 20:12:45 -08:00