Problem
chatbot-core/api/tools/tools.py contains 4 functions with zero unit tests. Every other file in api/tools/ has tests except this one.
Untested Functions
- search_plugin_docs() — hybrid search for plugin docs
- search_jenkins_docs() — hybrid search for Jenkins docs
- search_stackoverflow_threads() — stub returning static response
- search_community_threads() — hybrid search with semantic weight
Proposed Solution
Add tests/unit/tools/test_tools.py covering the above behaviors using unittest.mock.patch.
Are you interested in contributing a fix?
Yes — I will submit a PR once this approach is approved.
@berviantoleo @cnu1812 Does this look good to proceed?
Problem
chatbot-core/api/tools/tools.py contains 4 functions with zero unit tests. Every other file in api/tools/ has tests except this one.
Untested Functions
Proposed Solution
Add tests/unit/tools/test_tools.py covering the above behaviors using unittest.mock.patch.
Are you interested in contributing a fix?
Yes — I will submit a PR once this approach is approved.
@berviantoleo @cnu1812 Does this look good to proceed?