Gleb Levitski
3de0dc667e
Add ruff sort to pre-commit and sort imports in the library ( #1259 )
...
* lint
* bump ver
* bump ver
* fixed circular import
---------
Co-authored-by: Jirka Borovec <6035284+Borda@users.noreply.github.com >
2024-03-12 21:28:57 +00:00
Yiran Wu
07b97eb469
cover function calls with no arguments ( #1185 )
2023-08-20 05:28:29 +00:00
Chi Wang
c48babd02f
raise error when msg is invalid; fix docstr; improve ResponsiveAgent; update doc and packaging; capture ipython output; find code blocks with llm when regex fails. ( #1154 )
...
* autogen.agent -> autogen.agentchat
* bug fix in portfolio
* notebook
* timeout
* timeout
* infer lang; close #1150
* timeout
* message context
* context handling
* add sender to generate_reply
* clean up the receive function
* move mathchat to contrib
* contrib
* last_message
* Add OptiGuide: agent and notebook
* Optiguide notebook: add figures and URL
1. figures and code points to remote URL
2. simplify the prompt for the interpreter, because
all information is already in the chat history.
* Update name: Agent -> GenericAgent
* Update notebook
* Rename: GenericAgent -> ResponsiveAgent
* Rebase to autogen.agentchat
* OptiGuide: Comment, sytle, and notebook updates
* simplify optiguide
* raise error when msg is invalid; fix docstr
* allow return None for generate_reply()
* update_system_message
* test update_system_message
* simplify optiguide
* simplify optiguide
* simplify optiguide
* simplify optiguide
* move test
* add test and fix bug
* doc update
* doc update
* doc update
* color
* optiguide
* prompt
* test danger case
* packaging
* docker
* remove path in traceback
* capture ipython output
* simplify
* find code blocks with llm
* find code with llm
* order
* order
* fix bug in context handling
* print executing msg
* print executing msg
* test find code
* test find code
* disable find_code
* default_auto_reply
* default auto reply
* remove optiguide
* remove -e
---------
Co-authored-by: Beibin Li <beibin79@gmail.com >
2023-08-01 02:22:30 +00:00
Chi Wang
7ddb171cd9
autogen.agent -> autogen.agentchat ( #1148 )
...
* autogen.agent -> autogen.agentchat
* bug fix in portfolio
* notebook
* timeout
* timeout
* infer lang; close #1150
* timeout
* message context
* context handling
* add sender to generate_reply
* clean up the receive function
* move mathchat to contrib
* contrib
* last_message
2023-07-29 04:17:51 +00:00
Chi Wang
3e7aac6e8b
unify auto_reply; bug fix in UserProxyAgent; reorg agent hierarchy ( #1142 )
...
* simplify the initiation of chat
* version update
* include openai
* completion
* load config list from json
* initiate_chat
* oai config list
* oai config list
* config list
* config_list
* raise_error
* retry_time
* raise condition
* oai config list
* catch file not found
* catch openml error
* handle openml error
* handle openml error
* handle openml error
* handle openml error
* handle openml error
* handle openml error
* close #1139
* use property
* termination msg
* AIUserProxyAgent
* smaller dev container
* update notebooks
* match
* document code execution and AIUserProxyAgent
* gpt 3.5 config list
* rate limit
* variable visibility
* remove unnecessary import
* quote
* notebook comments
* remove mathchat from init import
* two users
* import location
* expose config
* return str not tuple
* rate limit
* ipython user proxy
* message
* None result
* rate limit
* rate limit
* rate limit
* rate limit
* make auto_reply a common method for all agents
* abs path
* refactor and doc
* set mathchat_termination
* code format
* modified
* emove import
* code quality
* sender -> messages
* system message
* clean agent hierarchy
* dict check
* invalid oai msg
* return
* openml error
* docstr
---------
Co-authored-by: kevin666aa <yrwu000627@gmail.com >
2023-07-25 23:46:11 +00:00
Chi Wang
2406e69496
Json config list, agent refactoring and new notebooks ( #1133 )
...
* simplify the initiation of chat
* version update
* include openai
* completion
* load config list from json
* initiate_chat
* oai config list
* oai config list
* config list
* config_list
* raise_error
* retry_time
* raise condition
* oai config list
* catch file not found
* catch openml error
* handle openml error
* handle openml error
* handle openml error
* handle openml error
* handle openml error
* handle openml error
* close #1139
* use property
* termination msg
* AIUserProxyAgent
* smaller dev container
* update notebooks
* match
* document code execution and AIUserProxyAgent
* gpt 3.5 config list
* rate limit
* variable visibility
* remove unnecessary import
* quote
* notebook comments
* remove mathchat from init import
* two users
* import location
* expose config
* return str not tuple
* rate limit
* ipython user proxy
* message
* None result
* rate limit
* rate limit
* rate limit
* rate limit
2023-07-23 13:23:09 +00:00
Yiran Wu
ca10b286cc
Support function_call in autogen/agent ( #1091 )
...
* update funccall
* code format
* update to comments
* update notebook
* remove test for py3.7
* allow funccall to class functions
* add test and clean up notebook
* revise notebook and test
* update
* update mathagent
* Update flaml/autogen/agent/agent.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* Update flaml/autogen/agent/user_proxy_agent.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* revise to comments
* revise function call design, notebook and test. add doc
* code format
* ad message_to_dict function
* update mathproxyagent
* revise docstr
* update
* Update flaml/autogen/agent/math_user_proxy_agent.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* Update flaml/autogen/agent/math_user_proxy_agent.py
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu >
* Update flaml/autogen/agent/user_proxy_agent.py
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu >
* simply funccall in userproxyagent, rewind auto-gen.md, revise to comments
* code format
* update
* remove notebook for another pr
* revise oai_conversation part in agent, revise function exec in user_proxy_agent
* update test_funccall
* update
* update
* fix pydantic version
* Update test/autogen/test_agent.py
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
* fix bug
* fix bug
* update
* update is_termination_msg to accept dict
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com >
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu >
Co-authored-by: Li Jiang <bnujli@gmail.com >
2023-07-05 22:08:44 +00:00
Chi Wang
8760631349
string to array ( #1086 )
...
* string to array
* exclude aoai
2023-06-17 13:11:22 +00:00
Chi Wang
e1da7f7d68
update openai model support ( #1082 )
...
* update openai model support
* new gpt3.5
* docstr
* function_call and content may co-exist
* test function call
---------
Co-authored-by: Qingyun Wu <qingyun.wu@psu.edu >
2023-06-16 00:58:44 +00:00