* def _prepare_chat for groupchat manager to reset the groupchat
* typo
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* typehint and simplify
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Switched to AzureOpenAI for api_type=="azure"
* Setting AzureOpenAI to empty object if no `openai`
* extra_ and openai_ kwargs
* test_client, support for Azure and "gpt-35-turbo-instruct"
* instruct/azure model in test_client_stream
* generalize aoai support (#1)
* generalize aoai support
* Null check, fixing tests
* cleanup test
---------
Co-authored-by: Maxim Saplin <smaxmail@gmail.com>
* Returning back model names for instruct
* process model in create
* None check
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* update
* update
* Update notebook/oai_client_cost.ipynb
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* update doc and test
---------
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* #1206
* doc
* add test for azure openai
* prior to
* filter for versions
* up to
* literal type
* update doc
* update doc
* update model list
* Update autogen/agentchat/conversable_agent.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Update test/agentchat/test_tool_calls.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Update test_tool_calls.py
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Updates to the Dockerfiles making them more secure. update to the installation.md file and a start.sh file for the Dockerfile.dev to start the document server. Not ready for pull request.
* updates to the docker documentation
* clean up before commit
* added docker instructions on how to test documentation prior to commit.
* fixed the title heading in the installation.md
* removed alternate yarn install from Dockerfile.dev
* Update sidebars.js
removed un-related change from website/sidebars.js
* cleaned up the lint errors from the pre-commit-check.
* removed bad edit from sidebars.js
* fixing git conflict with sidebars.js file
* Update Installation.md
added the missing sections back. However, do we still want the docker section under the Optional Dependencies? That looks like it would go better in the Dockerfiles.md file.
* Update Installation.md
Added mount your code back and added mount your directory for better clarity.
* Update Installation.md
Lint cleanup
* Update Installation.md
removed the relative path to samples/dockers/Dockerfiles.md with a proper URL to where it will exist
* fixed bad link to Dockerfiles.md
* Fix trailing whitespace and formatting issues
* Update link to Dockerfiles.md
* somtimes its really hard to find that lost i.
* trailing whitespace and EOF issues resolved
* fixed broken link
* trailing space an broken link
* removed broken links. will update one merged.
* fixed glaring error about building an image from a particular branch Contribute.md
* removed tic mark typo from contribute.md
---------
Co-authored-by: Todd W Bucy <todd.bucy@rackspace>
* Added the ability to add tags to the OAI_CONFIG_LIST, and filter on them.
* Update openai_utils.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* run sync and async in async
* test for async multitool call
* uncomment notebook
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Davor Runje <davor@airt.ai>
* Refined the user_proxy description in cases where it is fully automated. Too often, other agents assumed it could answer on behalf of a user in human_input=NEVER mode, but it cannot.
* Refined prompt further as per discussion.
* Preparing content for MDX v3
* upgrade dcusarus to v3
* upgrade to v3
* merge main to branch
* space
* change node version to 18
* merge main
* change setup-node version
* bug fix: added escape when needed
* added escape characters in docstrings
* upgraded docusaurus to 3.0.1
* polishing
* restored commented out link
* rename file
* removed backtick
* Add support for MD files in Docusaurus
* Add support for MD files in Docusaurus
* Add support for MD files in Docusaurus
* polishing
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* cleanup
* merge with main and build scripts added
---------
Co-authored-by: Davor Runje <davor@airt.ai>
Co-authored-by: Shaokun Zhang <shaokunzhang529@gmail.com>
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
* documentation update and added tests for register_reply function
* added raising an exception on an async reply function in sync chat
* big fixing
* test expanded
* Update autogen/agentchat/conversable_agent.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Update autogen/agentchat/conversable_agent.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* refactorization
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* bug fix for async functions
* Update test_conversable_agent.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Update test/agentchat/test_conversable_agent.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* commented out cell in a notebook until issue #1205 is not fixed
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* docker documentation
* docker doc
* clean contribute.md
* minor change
* Add more detailed description
* add docker instructions
* more dockerfiles
* readme update
* latest python
* dev docker python version
* add version
* readme
* improve doc
* improve doc
* path name
* naming
* Update website/docs/Installation.md
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Update website/docs/Installation.md
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Add suggestion to install colima for Mac users
* Update website/docs/Installation.md
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Update website/docs/Installation.md
Co-authored-by: olgavrou <olgavrou@gmail.com>
* update doc
* typo
* improve doc
* add more options in dev file
* contrib
* add link to doc
* add link
* Update website/docs/Installation.md
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* Update website/docs/Installation.md
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* instruction
* Update website/docs/FAQ.md
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* FAQ
* comment autogen studio
---------
Co-authored-by: Yuandong Tian <yuandong@fb.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: olgavrou <olgavrou@gmail.com>
* bump version to 0.2.4
* update
* display more contributors in the wall
* news update
* news update
---------
Co-authored-by: kevin666aa <yrwu000627@gmail.com>
* fixed spelling, minor errors and reformatted using black
* polishing
* added codespell to pre-commit hooks, fixed a number of spelling errors and a few minor bugs in the code
* update autogen library version in notebooks
* update autogen library version in notebooks
* update autogen library version in notebooks
* update autogen library version in notebooks
* update autogen library version in notebooks
* adjust conversable and compressible agents to support tool_calls
* split out tools into their own reply def
* copilot typo
* address review comments
* revert compressible_agent and token_count_utils calls
* cleanup terminate check and remove unnecessary code
* doc search and update
* return function/tool calls as interrupted when user provides a reply to a tool call request
* fix tool name reference
* fix formatting
* fix initiate receiving a dict
* missed changed roled
* ignore incoming role, more similiar to existing code
* consistency
* redundant to_dict
* fix todo comment
* uneeded change
* handle dict reply in groupchat
* Fix generate_tool_call_calls_reply_comment
* change method annotation for register_for_llm from functions to tools
* typo autogen/agentchat/conversable_agent.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
* add deprecation comments for function_call
* tweak doc strings
* switch to ToolFunction type
* update the return to
* fix generate_init_message return type
* Revert "fix generate_init_message return type"
This reverts commit 645ba8b76a.
* undo force init to dict
* fix notebooks and groupchat tool handling
* fix type
* use get for key error
* fix teachable to pull content from dict
* change single message tool response
* cleanup unnessary changes
* little better tool response concatenation
* update tools tests
* add skip openai check to tools tests
* fix nits
* move func name normalization to oai_reply and assert configured names
* fix whitespace
* remove extra normalize
* tool name is now normalized in the generate_reply function, so will not be incorrect when sent to receive
* validate function names in init and expand comments for validation methods
* fix dict comprehension
* Dummy llm config for unit tests
* handle tool_calls set to None
* fix tool name reference
* method operates on responses not calls
---------
Co-authored-by: Yiran Wu <32823396+kevin666aa@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* try to fix blog
* modify blog
* fix test error in #717; fix blog typo in installation; update blogs with output examples.
* pre-commit
* pre-commit
* Update website/blog/2023-11-26-Agent-AutoBuild/index.mdx
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
* add future work
* fix grammar
* update agent_builder
* solve #941; add detailed debug info; support json string config
* pre-commit
* solve #954
* pre-commit
* [new feature] build group chat agents from library.
* pre-commit
* add authors' info in notebook; add a new notebook for build_from_library; reduce prompt effort
* update test and example for build_from_library
* pre-commit
* add notebook; update docs
* change notebook name
* change description for notebook and doc
* remove default value for default_llm_config
* add embedding similarity agent selection
* pre-commit
* update test
* add dependency installation in github workflow
* update test
* pre-commit
* update notebook
* support directly json as library; support customize embedding model
* update test
* pre-commit
* update github test workflow
* Update autobuild_agent_library.ipynb
* add agent description
* refine prompt; update notebook
* pre-commit
* update test example
* update test
* update test
* update test
* change `config_path` to `config_path_or_env`; update test
* pre-commit
* update test
* update test
* update test: add config_file_location
* change `config_path_or_env` to `config_file_or_env`
* update test
* solve noqa
* fix import error for conftest
* fix test error
* pre-commit
* * update error message in `_create_agent`.
* replace `gpt-4-1106-preview` to `gpt-4` in test file.
* add comment on local server creation; modify notebook; update contrib-openai.yml for test; add autobuild option in setup.py; add autotest model name statement
* move import huggingface_hub to _create_agent
* pre-commit
* add uncover comment in the endpoint creation code block
* recover contrib-openai.yml for merge
---------
Co-authored-by: Jieyu Zhang <jieyuz2@cs.washington.edu>
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu>
* Remove GPT-4 as the default model.
* Updated test_compressible_agent to work around a bug that would otherwise default to gpt-4. Revist after #1073 is addressed.
* Worked around another bug in test_compressible_agent. It seems the config_list was always empty!
* Reverted changes to compressible agent.
* Noted that GPT-4 is the preferred model in the OAI_CONFIG_LIST_sample and README.
* Fixed failing tests after #1110
* Update OAI_CONFIG_LIST_sample
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>