Passing output of one agent to another in a background job #458
Unanswered
frgorczyca
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey I'm currently implementing a use case where an Agent uses a StructuredOutput, returns a 200 OK back to the client and starts a background job using the output parameters. This background job has a new parallel agent that utilizes the StructuredOutput the previous agent as InputSchema. A simplified snippet:
I'm looking to preserve the ids of the jobs, so the output can be accessed later. Is there a more idiomatic way to do this nonblocking call (e.g. through some agent pattern) that still preserves the unique ID of jobs so I am able to distinguish the outputs?
Beta Was this translation helpful? Give feedback.
All reactions