Added the file on how run the handoffs (with a new example) in jupyter notebook#165
Closed
muhammad-stack wants to merge 1 commit intoopenai:mainfrom
Closed
Added the file on how run the handoffs (with a new example) in jupyter notebook#165muhammad-stack wants to merge 1 commit intoopenai:mainfrom
muhammad-stack wants to merge 1 commit intoopenai:mainfrom
Conversation
rm-openai
requested changes
Mar 17, 2025
Collaborator
rm-openai
left a comment
There was a problem hiding this comment.
Weakly held opinion: I don't want to have to add jupyter-specific branches for each example. Ideally most code works out of the box in notebooks, or at the very least the examples are readable enough for jupyter users to quickly modify.
cc @dmitry-openai as well for opinions.
Contributor
|
Aligned - I think we want to show the run loop differences for Jupyter, but not translate every example (since there are virtually no differences for everything else) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes changes to the
README.mdfile and the addition of a new example script inexamples/basic/handoff_jupyter.py. The most important changes are the addition of a new Jupyter notebook example and the import and usage of theasynciolibrary for concurrent code execution.Documentation updates:
README.md: Added a reference to the new Jupyter notebook example scripthandoff_jupyter.py.New example script:
examples/basic/handoff_jupyter.py: Added a new example script demonstrating the use ofAgentandRunnerclasses, along with theasynciolibrary for concurrent code execution. The script includes the creation of three agents (coding_agent,debugging_agent, andtriage_agent) and an example of running thetriage_agentto calculate the factorial of a number.