-
Notifications
You must be signed in to change notification settings - Fork 301
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
Pass additional fields to agent create #2272
Pass additional fields to agent create #2272
Conversation
ff90b3f
to
4f090e6
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2272 +/- ##
==========================================
- Coverage 83.76% 83.36% -0.41%
==========================================
Files 329 311 -18
Lines 25002 24193 -809
Branches 3708 3496 -212
==========================================
- Hits 20943 20168 -775
+ Misses 3432 3398 -34
Partials 627 627 ☔ View full report in Codecov by Sentry. |
Signed-off-by: noahjax <[email protected]>
4f090e6
to
8c048ac
Compare
Signed-off-by: noahjax <[email protected]>
Signed-off-by: noahjax <[email protected]>
Signed-off-by: noahjax <[email protected]>
43d59de
to
059cdb7
Compare
d87ecf8
to
66f61bd
Compare
…prefix Signed-off-by: noahjax <[email protected]>
66f61bd
to
cdf11c8
Compare
@noahjax yes, you can add that to this PR. |
@pingsutw I'm actually not sure if there is an easy way to add |
Sure, either works for me |
This is what I initially tried for adding I don't see a way to add it without making a breaking change to |
@pingsutw Everything look ok to you? |
LGTM, thank you. |
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: noahjax <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving based on the prior review from @pingsutw
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you @ddl-ebrown @noahjax
Signed-off-by: noahjax <[email protected]> Signed-off-by: Kevin Su <[email protected]> Co-authored-by: Kevin Su <[email protected]> Signed-off-by: Jan Fiedler <[email protected]>
Tracking issue
https://github.com/flyteorg/flyte/issues/
Why are the changes needed?
With the update to flytekit 1.11.0 (specifically this PR) and creation of
AsyncAgentBase
,output_prefix
was removed from thecreate
function for agents. This is problematic for our use case, and in general seems like it is moving things towards less flexible agents.We would also like to be able to consume the task execution metadata in our create function if possible, and I may tack that on to this PR later.
What changes were proposed in this pull request?
How was this patch tested?
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link