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

Making memory and llm spec optional fields #398

Merged
merged 3 commits into from
Jan 11, 2024

Conversation

joshpalis
Copy link
Member

Description

Modifies the RegisterAgentStep to allow for optional memory / llm spec inputs

Issues Resolved

#396

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.

@joshpalis joshpalis added the backport 2.x backport PRs to 2.x branch label Jan 10, 2024
Copy link

codecov bot commented Jan 10, 2024

Codecov Report

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

Comparison is base (ebf8b90) 72.01% compared to head (3469def) 72.14%.

Files Patch % Lines
...arch/flowframework/workflow/RegisterAgentStep.java 28.57% 2 Missing and 3 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #398      +/-   ##
============================================
+ Coverage     72.01%   72.14%   +0.13%     
- Complexity      612      613       +1     
============================================
  Files            79       79              
  Lines          3069     3070       +1     
  Branches        237      238       +1     
============================================
+ Hits           2210     2215       +5     
+ Misses          756      751       -5     
- Partials        103      104       +1     

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

@owaiskazi19
Copy link
Member

We will need to remove this block as well.

@dbwiddis dbwiddis merged commit f8e822f into opensearch-project:main Jan 11, 2024
20 of 21 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 11, 2024
* Making memory and llm spec optional fields

Signed-off-by: Joshua Palis <[email protected]>

* Removing second null llmModelId check

Signed-off-by: Joshua Palis <[email protected]>

---------

Signed-off-by: Joshua Palis <[email protected]>
(cherry picked from commit f8e822f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
owaiskazi19 pushed a commit that referenced this pull request Jan 11, 2024
Making memory and llm spec optional fields (#398)

* Making memory and llm spec optional fields



* Removing second null llmModelId check



---------


(cherry picked from commit f8e822f)

Signed-off-by: Joshua Palis <[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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants