Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compile error #114

Merged
merged 2 commits into from
Jan 9, 2024
Merged

Fix compile error #114

merged 2 commits into from
Jan 9, 2024

Conversation

Hailong-am
Copy link
Collaborator

@Hailong-am Hailong-am commented Jan 9, 2024

Description

Two new methods add into Tool.Factory interface, all implementations need implementate these two methods

/**
 * Get the default type of this tool.
 * @return the default tool type
 */
String getDefaultType();

/**
 * Get the default version of this tool
 * @return the default tool version
 */
String getDefaultVersion();

Issues Resolved

new method add by this PR

https://github.com/opensearch-project/ml-commons/pull/1818/files#diff-f3f27d4e953486c2798c6edef8641779b3211dabbe5374c5bfe1737b3aab2f25

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: Hailong Cui <[email protected]>
@Hailong-am Hailong-am mentioned this pull request Jan 9, 2024
5 tasks
Copy link

codecov bot commented Jan 9, 2024

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (34ae75f) 81.29% compared to head (783a715) 81.70%.
Report is 11 commits behind head on main.

Files Patch % Lines
...opensearch/agent/tools/NeuralSparseSearchTool.java 0.00% 2 Missing ⚠️
.../main/java/org/opensearch/agent/tools/RAGTool.java 0.00% 2 Missing ⚠️
...a/org/opensearch/agent/tools/SearchAlertsTool.java 0.00% 2 Missing ⚠️
...ensearch/agent/tools/SearchAnomalyResultsTool.java 0.00% 2 Missing ⚠️
...org/opensearch/agent/tools/SearchMonitorsTool.java 0.00% 2 Missing ⚠️
.../java/org/opensearch/agent/tools/VectorDBTool.java 0.00% 2 Missing ⚠️
...org/opensearch/agent/tools/VisualizationsTool.java 0.00% 2 Missing ⚠️
.../main/java/org/opensearch/agent/tools/PPLTool.java 50.00% 1 Missing ⚠️
...va/org/opensearch/agent/tools/SearchIndexTool.java 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #114      +/-   ##
============================================
+ Coverage     81.29%   81.70%   +0.41%     
- Complexity      152      190      +38     
============================================
  Files            12       13       +1     
  Lines           882      962      +80     
  Branches        115      130      +15     
============================================
+ Hits            717      786      +69     
- Misses          106      126      +20     
+ Partials         59       50       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zhichao-aws
Copy link
Member

There seems a flaky test in workflow result: https://github.com/opensearch-project/skills/actions/runs/7456381157/job/20286930811?pr=114.
Let's get this PR merged first and fix it in follow up PR

@zhichao-aws zhichao-aws merged commit 7a596a0 into opensearch-project:main Jan 9, 2024
10 of 13 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 9, 2024
* fix compile error

Signed-off-by: Hailong Cui <[email protected]>

* fix compile error

Signed-off-by: Hailong Cui <[email protected]>

---------

Signed-off-by: Hailong Cui <[email protected]>
(cherry picked from commit 7a596a0)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Hailong-am Hailong-am changed the title fix compile error Fix compile error Jan 9, 2024
xinyual pushed a commit that referenced this pull request Jan 12, 2024
* fix compile error



* fix compile error



---------


(cherry picked from commit 7a596a0)

Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
yuye-aws pushed a commit to yuye-aws/skills that referenced this pull request Apr 26, 2024
* fix compile error

* fix compile error

---------

(cherry picked from commit 7a596a0)

Signed-off-by: Hailong Cui <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: yuye-aws <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants