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] feat: parse connector id from tool parameters map #848

Merged
merged 2 commits into from
Aug 28, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link

Backport b3f9d65 from #846.

* feat: parse connector id from tool parameters map

Signed-off-by: yuye-aws <[email protected]>

* update changelog

Signed-off-by: yuye-aws <[email protected]>

* implement unit test for connector, model and agent id

Signed-off-by: yuye-aws <[email protected]>

* tool step id: make node id unique

Signed-off-by: yuye-aws <[email protected]>

* integration test: create agent with connector tool

Signed-off-by: yuye-aws <[email protected]>

* integration test: update with get agent and get workflow

Signed-off-by: yuye-aws <[email protected]>

* optimize: iterate through connector_id model_id and agent_id

Signed-off-by: yuye-aws <[email protected]>

* update changelog

Signed-off-by: yuye-aws <[email protected]>

---------

Signed-off-by: yuye-aws <[email protected]>
(cherry picked from commit b3f9d65)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Daniel Widdis <[email protected]>
Copy link

codecov bot commented Aug 28, 2024

Codecov Report

Attention: Patch coverage is 84.61538% with 2 lines in your changes missing coverage. Please review.

Project coverage is 77.55%. Comparing base (dad8d31) to head (9a23f1a).
Report is 1 commits behind head on 2.x.

Files with missing lines Patch % Lines
...rg/opensearch/flowframework/workflow/ToolStep.java 84.61% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #848      +/-   ##
============================================
+ Coverage     77.44%   77.55%   +0.10%     
- Complexity      963      966       +3     
============================================
  Files            97       97              
  Lines          4536     4531       -5     
  Branches        423      422       -1     
============================================
+ Hits           3513     3514       +1     
+ Misses          841      835       -6     
  Partials        182      182              

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

@dbwiddis dbwiddis merged commit 7a9c717 into 2.x Aug 28, 2024
31 checks passed
@dbwiddis dbwiddis deleted the backport/backport-846-to-2.x branch August 28, 2024 18:04
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.

1 participant