-
Notifications
You must be signed in to change notification settings - Fork 710
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
How to specify the next agent? #187
Comments
Hi, if I'm not wrong this example from the github repo may be what you're looking for. |
hi @DanieleMorotti, do you have any advice on ensuring the agent can be handed off correctly when the chat history is too long? |
Hi, I believe this issue can be addressed using standard chat techniques. These are just my opinions, so take them with a grain of salt :) |
Yes, that's exactly what I want. Do you have any plans to add some code examples like this to the documentation? I think this will help people in need more quickly.
|
@rm-openai may answer to this. But if you're looking for other examples, there are some in the examples directory. |
I am worried that handoffs may not be triggered. I need to ensure that sql_checker_agent is called after generate_sql_agent.
In the documentation(https://openai.github.io/openai-agents-python/multi_agent/) I found this: "Chaining multiple agents by transforming the output of one into the input of the next. You can decompose a task like writing a blog post into a series of steps - do research, write an outline, write the blog post, critique it, and then improve it."
But how to implement it with code?
The text was updated successfully, but these errors were encountered: