-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add further installation guidance and files for CaptainAgent #76
Merged
Conversation
This file contains 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
sonichi
reviewed
Nov 24, 2024
…, excluding unnecessary mdx in .gitignore, grammar
Co-authored-by: Chi Wang <4250911+sonichi@users.noreply.github.com>
rudyalways
reviewed
Nov 24, 2024
rudyalways
reviewed
Nov 24, 2024
Co-authored-by: Chi Wang <4250911+sonichi@users.noreply.github.com>
Signed-off-by: Mark Sze <mark@sze.family>
…to captainagentinstall
Signed-off-by: Mark Sze <mark@sze.family>
Signed-off-by: Mark Sze <mark@sze.family>
sonichi
reviewed
Nov 26, 2024
…so no compile, plus blog code fix and model update Signed-off-by: Mark Sze <mark@sze.family>
LinxinS97
approved these changes
Nov 28, 2024
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.
Why are these changes needed?
The notebook documentation for CaptainAgent advises to install via
pip install ag2[autobuild]
, this should bepip install ag2[captainagent]
. Furthermore, the blog post doesn't provide any guidance, so I've added a quick note.Also, the default tools library for CaptainAgent is not being included with the pip install, so have added this so it will be installed when using
pip install ag2
(can't be specific to extras).Have also corrected the code on the blog, minor import issue, as well as changing the model in the sample code to GPT-4o as it was noted that this was more reliable.
For the pysqlite3 installation issue:
Instead of installing
pysqlite3
, it will now installpysqlite3-binary
which does not require building of pysqlite3. When running the code after a test pip install, I could see that this binary version creates both a pysqlite3 and pysqlite3-binary site-package folder, both with the compiled binary. Running a sample code and stepping through shows that pysqlite3 is being detected and used.If others can test with a pip install using this branch and testing CaptainAgent that would be great:
pip install -v ".[captainagent]"
...site-packages/autogen
folder (find the site-packages folder throughpip show ag2
) has the CaptainAgent 3 tools sub-folders and files (.../autogen/agentchat/contrib/captainagent/tools/...)Related issue number
N/A
Checks
Fixes #82