116 Commits

Author SHA1 Message Date
Devin AI
7612ccd1ab fix: switch default provider to OpenAI and increase test timeouts
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
2025-02-05 12:43:18 +00:00
Devin AI
0ded17d735 fix: improve JSON parsing and increase test timeouts
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
2025-02-05 12:41:20 +00:00
Devin AI
42075322c5 fix: update schema handling and config for multi-provider support
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
2025-02-05 12:37:21 +00:00
Devin AI
31fa48d7f3 fix: update model names to valid ones (gemini-pro and gpt-3.5-turbo)
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
2025-02-05 12:32:41 +00:00
Devin AI
3e2cb952f1 fix: add index signature to OpenAIFunctionParameter for compatibility
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
2025-02-05 12:30:35 +00:00
Devin AI
4c0093deb0 refactor: add multi-provider support with Vercel AI SDK
- Add support for Gemini, OpenAI, and Ollama providers
- Set default models (gemini-flash-1.5 for Gemini, gpt4o-mini for OpenAI)
- Implement provider factory pattern
- Update schema handling for each provider
- Add environment variable configuration
- Maintain token tracking across providers

Co-Authored-By: Han Xiao <han.xiao@jina.ai>
2025-02-05 12:28:21 +00:00
Devin AI
22c2244225 refactor: replace Google's Gemini client with OpenAI
- Remove @google/generative-ai dependency
- Add OpenAI client
- Update all tool files to use OpenAI's chat completions API
- Convert schema definitions to use Zod
- Maintain existing temperature configurations
- Add proper type safety with TypeScript

Co-Authored-By: Han Xiao <han.xiao@jina.ai>
2025-02-05 12:00:57 +00:00
Han Xiao
2b84a577c8 feat: use s.jina.ai for search 2025-02-05 16:28:14 +08:00
Han Xiao
36722eacaa feat: use s.jina.ai for search 2025-02-05 16:11:12 +08:00
Han Xiao
5e7dce3add feat: use s.jina.ai for search 2025-02-05 16:09:10 +08:00
Han Xiao
86838a3e89 feat: use s.jina.ai for search 2025-02-05 15:26:12 +08:00
Han Xiao
d629ea35e9 feat: use s.jina.ai for search 2025-02-05 15:18:19 +08:00
Han Xiao
a9dfec9a41 feat: use s.jina.ai for search 2025-02-05 15:15:17 +08:00
Han Xiao
d8636d16ce
chore: readme 2025-02-05 14:01:39 +08:00
Han Xiao
fb39ccbd06 chore: fix readme 2025-02-05 13:52:18 +08:00
Han Xiao
fd6623b9dc fix: improve prompting 2025-02-05 13:49:22 +08:00
Han Xiao
2306bd3a9e fix: improve prompting 2025-02-05 13:48:05 +08:00
Han Xiao
8630d607a2 fix: improve prompting 2025-02-05 12:47:42 +08:00
Han Xiao
7f208c5072 fix: improve prompting 2025-02-05 12:37:23 +08:00
Han Xiao
fd40c7b020 fix: improve prompting 2025-02-05 12:11:41 +08:00
Han Xiao
9f871ef37e fix: use xml prompt 2025-02-05 11:51:05 +08:00
Han Xiao
f48c84d207 fix: use xml prompt 2025-02-05 11:41:29 +08:00
Han Xiao
77e1656744 fix: remove unnecessary budget guard 2025-02-05 10:45:20 +08:00
Han Xiao
70a3eef522 fix: remove unnecessary budget guard 2025-02-05 10:43:08 +08:00
Han Xiao
d562d518ed fix: remove unnecessary budget guard 2025-02-05 10:41:29 +08:00
Igor Kuzmenkov
2d489812a3
Dockerize repo, create Dockerfile, docker-compose.yml and update README.md (#17)
---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/jina-ai/node-DeepResearch?shareId=XXXX-XXXX-XXXX-XXXX).
2025-02-05 10:39:30 +08:00
Kim Jaehyeon
2c34150158
fix: modify tracker type path (#14)
Co-authored-by: hammer-turtle <hammer_turtle@neowiz.com>
2025-02-05 10:39:08 +08:00
Han Xiao
4f1ed24ecb chore: first commit 2025-02-04 20:53:52 +08:00
devin-ai-integration[bot]
76f8cd242a
feat: merge types and add tests (#10)
* feat: merge types and add tests

- Merged types.ts and tracker.ts
- Added Jest configuration and setup
- Added comprehensive tests for tools and agent
- Updated package.json with test scripts

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* chore: remove tracker.ts after merging into types.ts

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* fix: remove sensitive API keys from jest.setup.js

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* fix: improve error handling and test timeouts

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* feat: add token budget enforcement to TokenTracker

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* feat: add github actions workflow for CI and fix remaining issues

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Han Xiao <han.xiao@jina.ai>
2025-02-03 18:01:59 +08:00
Han Xiao
bd8e9ff1d4 Merge branch 'main' of https://github.com/jina-ai/node-agentic-search
# Conflicts:
#	README.md
2025-02-03 17:29:54 +08:00
Han Xiao
2bcd06abd2 chore: first commit 2025-02-03 17:29:27 +08:00
Han Xiao
2e83ae11ae chore: first commit 2025-02-03 16:30:04 +08:00
Han Xiao
9508eb3c7c
Update README.md 2025-02-03 13:35:04 +08:00
Han Xiao
3bda3984a4
Update README.md 2025-02-03 13:27:27 +08:00
Han Xiao
090e61591d chore: first commit 2025-02-03 13:17:52 +08:00
Han Xiao
289fe90f63 chore: first commit 2025-02-03 13:02:30 +08:00
Han Xiao
438aaf0579 chore: first commit 2025-02-03 12:42:20 +08:00
Han Xiao
1275870f95
Update README.md 2025-02-03 11:41:29 +08:00
Han Xiao
51f397dae8
Update README.md 2025-02-03 11:28:54 +08:00
Han Xiao
e9f7691df7
Update README.md 2025-02-03 11:27:56 +08:00
Han Xiao
2de8f09461
Update README.md 2025-02-03 11:27:26 +08:00
Han Xiao
164f945240
chore: add example gif 2025-02-03 11:25:30 +08:00
Han Xiao
0ef052296d
Create LICENSE 2025-02-03 11:04:20 +08:00
Han Xiao
e4dc9be5c7
Update README.md 2025-02-03 11:03:21 +08:00
Han Xiao
1b1f209eab
Update README.md 2025-02-03 10:58:14 +08:00
Han Xiao
504edc7266
Update README.md 2025-02-03 10:57:42 +08:00
Han Xiao
1039a3f827 chore: first commit 2025-02-02 23:41:59 +08:00
devin-ai-integration[bot]
48f8565291
fix: standardize TokenTracker imports and usage pattern (#9)
- Update dedup.ts and error-analyzer.ts to use TokenTracker class import
- Add optional tracker parameter for dependency injection
- Match evaluator.ts pattern for token tracking

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Han Xiao <han.xiao@jina.ai>
2025-02-02 23:33:08 +08:00
devin-ai-integration[bot]
5be008e8b9
feat: add action tracker and reset token tracker (#8)
* feat: add action tracker and reset token tracker

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

* refactor: make trackers request-scoped

Co-Authored-By: Han Xiao <han.xiao@jina.ai>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Han Xiao <han.xiao@jina.ai>
2025-02-02 23:25:54 +08:00
Han Xiao
3f032bbdcc chore: first commit 2025-02-02 22:57:10 +08:00