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

[Backport 2.x] enhance parsing model response function for more edge cases #2128

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 311b971 from #2122

* enhance parsing model response function for more edge cases

Signed-off-by: Yaliang Wu <[email protected]>

* add more unit test

Signed-off-by: Yaliang Wu <[email protected]>

* fine tune code; fix some bug

Signed-off-by: Yaliang Wu <[email protected]>

* add more unit test

Signed-off-by: Yaliang Wu <[email protected]>

* fix tool name bug

Signed-off-by: Yaliang Wu <[email protected]>

---------

Signed-off-by: Yaliang Wu <[email protected]>
(cherry picked from commit 311b971)
Copy link

codecov bot commented Feb 19, 2024

Codecov Report

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

Comparison is base (5623d26) 81.85% compared to head (2ee1018) 81.85%.

Files Patch % Lines
...nsearch/ml/engine/algorithms/agent/AgentUtils.java 90.09% 3 Missing and 7 partials ⚠️
.../ml/engine/algorithms/agent/MLChatAgentRunner.java 92.30% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #2128      +/-   ##
============================================
- Coverage     81.85%   81.85%   -0.01%     
- Complexity     5646     5659      +13     
============================================
  Files           543      543              
  Lines         22809    22862      +53     
  Branches       2333     2347      +14     
============================================
+ Hits          18671    18714      +43     
- Misses         3201     3209       +8     
- Partials        937      939       +2     
Flag Coverage Δ
ml-commons 81.85% <90.69%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@ylwu-amzn ylwu-amzn merged commit 6122148 into 2.x Feb 19, 2024
12 of 15 checks passed
@github-actions github-actions bot deleted the backport/backport-2122-to-2.x branch February 19, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants