Commit Graph

5 Commits

Author SHA1 Message Date
Devin AI
a4084ea906 fix: skip integration tests when API keys are missing
Co-Authored-By: Han Xiao <han.xiao@jina.ai>
2025-02-08 00:56:26 +00:00
devin-ai-integration[bot]
a4de4cc444 fix: ensure config.json is copied to production docker image (#43)
* fix: ensure config.json is copied to production docker image

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

* fix: remove unused config parameter in reduce callback

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

* refactor: simplify tools configuration using Object.fromEntries

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

* test: increase timeout for async search test

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

* test: remove setTimeout from agent test

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

* test: remove trivial tests and improve test coverage

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-07 14:17:48 +08:00
devin-ai-integration[bot]
282de3f245 feat: add npm publish workflow (#29)
* feat: add npm publish workflow

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

* feat: add CLI interface

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

* fix: add moduleResolution and resolveJsonModule to tsconfig

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

* feat: add OPENAI_API_KEY to workflow files

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-06 16:34:39 +08:00
Han Xiao
5e7dce3add feat: use s.jina.ai for search 2025-02-05 16:09:10 +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