Commit Graph

3414 Commits

Author SHA1 Message Date
Ricky Loynd
c5e76653cb Fix links (#1905) 2024-03-07 22:15:19 +00:00
Jack Gerrits
11b8d25426 Add warning and reorder jupyter executor docs (#1908) 2024-03-07 22:03:15 +00:00
Jack Gerrits
f4f9e6c27e Accept path for work_dir in LocalCommandLineCodeExecutor (#1909)
* Accept path in LocalCommandLineCodeExecutor

* formatting

* fixes
2024-03-07 21:58:40 +00:00
Jack Gerrits
e9219fefc0 Implement docker based command line code executor (#1856)
* implement docker based command line code executor

* undo import

* test skips

* format

* fix type issue

* skip docker tests

* fix paths

* add docs

* Update __init__.py

* class name

* precommit

* undo twoagent change

* use relative to directly

* Update, fixes, etc.

* update doc

* Update docstring

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-07 18:11:52 +00:00
Yiran Wu
1f9284ce54 Compressible Agent require model field for llm_config (#1903)
* update

* update

* update

* update

* Update autogen/agentchat/contrib/compressible_agent.py

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-03-07 16:45:17 +00:00
Jack Gerrits
23e49388ca Fix printout check for num code blocks (#1902) 2024-03-07 16:10:17 +00:00
Yiran Wu
2503000c22 update (#1891) 2024-03-07 15:02:48 +00:00
Yiran Wu
c37227bd04 Allow user to pass in a customized speaker selection method (#1791)
* init PR

* update

* update code check

* update

* update

* update

* update

* Test the ability to have agents a,u,t,o,g,e,n speak in turn.

* update

* update

* update

* Evidence that groupchat not terminating because of the TERMINATE substring.

* Raising NoEligibleSpeakerException allows graceful exit before max turns

* update

* To confirm with author that custom function is meant to override graph constraints

* Confirmed the expected test behaviour with author

* Update autogen/agentchat/groupchat.py

* update

* update

---------

Co-authored-by: Joshua Kim <Joshua@spectdata.com>
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
v0.2.17
2024-03-07 02:28:22 +00:00
Jack Gerrits
d711bd8e5d Update deploy-website.yml (#1894) 2024-03-07 00:17:59 +00:00
Eric Zhu
62e77adff4 lfs track images in blog post (#1876) 2024-03-06 23:25:21 +00:00
Xiao Wang
676e8e1418 fix ModelClient create function signature error (#1865)
CustomModelClient takes 1 positional argument but 2 were given
if using **params

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-06 19:26:05 +00:00
Jack Gerrits
c0369835ad Add annoucement bar for what's new blog post (#1884) 2024-03-06 19:21:28 +00:00
Jack Gerrits
685164f83a Executor timeout should preserve kernel state (#1885) 2024-03-06 18:24:33 +00:00
swiecki
5700e272f9 UPDATE: Fixed broken examples links (#1886)
* UPDATE: Fixed broken examples links

Fixed the two broken links in the examples page. All other links confirmed to work.

* Update Examples.md
2024-03-06 15:57:51 +00:00
Jack Gerrits
76a34e2a20 Resolve type issues in redis cache (#1872)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-06 15:44:08 +00:00
Jack Gerrits
195033e4d7 Fix devcontainer Dockerfile for arm (#1866) 2024-03-06 15:42:22 +00:00
KazooTTT
bfcbb63017 fix: update the docs link (#1879) 2024-03-06 15:41:40 +00:00
Jack Gerrits
d9078210e7 Change name from LocalCommandlineCodeExecutor to LocalCommandLineCodeExecutor (#1873)
* Change name from LocalCommandlineCodeExecutor to LocalCommandLineCodeExecutor

* formatting

* name

* name

* CommandLineCodeResult rename too

* formatting
2024-03-06 15:41:19 +00:00
Jack Gerrits
09a4918921 Move executor diag print to conversable_agent (#1867)
* print in conversable agent, not in executor

* fix fstring
2024-03-05 23:09:18 +00:00
Jack Gerrits
434b75e6fd Get unused port from jupyter kernel gateway not host (#1870)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-05 20:06:20 +00:00
Jack Gerrits
a54b733533 Rename to EmbeddedIPythonCodeExecutor (#1871) 2024-03-05 19:41:46 +00:00
Jack Gerrits
5bf496ed2c Small edits to update blog post (#1869) 2024-03-05 16:43:32 +00:00
Chi Wang
f3289cb987 summary of recent updates (#1850)
* share updates

* updates

* fix url

* address comments

* address comments

---------

Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
2024-03-05 03:38:30 +00:00
Jack Gerrits
0a79512ebd Add documentation for jupyter code executor (#1809)
* Add documentation for jupyter code executor

* formatting

* move to notebooks

* formatting

* update docs, fix badge bug

* fix lints

* pprint

* stop server
2024-03-04 23:44:20 +00:00
Jack Gerrits
b604c44101 Raise errors if incompatible args are used with an executor (#1855)
* Raise errors if incompatible args are used with an executor

* spelling error
2024-03-04 21:46:40 +00:00
Jack Gerrits
799a24e04f Create topics dir and move llm config (#1853)
* create topics dir and move llm config

* fix redirect

* fix link
2024-03-04 18:02:26 +00:00
Jack Gerrits
de757707bc Upgrade quarto and include mitigation for title issue, fix links (#1851)
* Upgrade quarto and include mitigation for title issue, fix links

* repo_root

* dont run quarto independently

* test paths

* test

* resolve intermediate parents

* remove print
2024-03-04 14:44:41 +00:00
Chi Wang
cd3b5c6bbd add doc about effects for capabilities (#1842)
* add doc about effects for capabilities

* remove unnecessary imports

* improve doc

* test

* test location

* polish

* improve import of colored

* termcolor

* termcolor

* use pull request for openai test
2024-03-03 23:15:52 +00:00
Chi Wang
f749deeda9 adjust the order of message processing (#1841) 2024-03-03 02:10:35 +00:00
Jack Gerrits
2912f554a3 revert quarto upgrade (#1840)
* revert quarto upgrade

* fix ruff
2024-03-02 19:45:28 +00:00
Grigorij Dudnik
f2e42326e1 Fix for bugs appeared when using function calls with clear history functionality (#1531)
* resolved errors happening when using function calling and clear history

* checking in nr_of_messages_to_preserve were provided

* code formatting

* test added, dict signature improved

* test added, dict signature improved

* test added, dict signature improved

* test added, dict signature improved

* test added, dict signature improved

* test added, dict signature improved

* test added, dict signature improved

* test added, dict signature improved

* Test updated

Co-authored-by: Chi Wang <wang.chi@microsoft.com>

* test improved

* test improved

* comment about preserving additional message added

* commentary about clear history called in tool response improved

* created test for clear hisotry called from tool response

* code formatting

* added 'USER INTERRUPTED' as internal content of tool response

* added separate vatiable 'nr_messages_to_preserve_internal'

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-02 18:03:52 +00:00
Jack Gerrits
d60464374d Upgrade Quarto and use notebook metadata for frontmatter (#1836)
* Update process_notebook to use metadata instead of a yaml comment

* upgrade quarto and version check in tool

* formatting

* address comments
2024-03-02 14:27:11 +00:00
Jack Gerrits
97923eeed8 Split apart ecosystem page, update sidebar, other website tweaks (#1812)
* Split apart ecosystem page, update sidebar

* fix docs 404

* fix redirect and link

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-02 06:24:56 +00:00
Eric Zhu
fcf14ee9e9 Remove default trigger value for register_nested_chats (#1833)
* remove default trigger value for register_nested_chats

* update notebook and test
2024-03-01 21:50:58 +00:00
Chi Wang
0a49f2a256 bug fix and cleanup for 0.2.16 (#1827) v0.2.16 2024-03-01 04:31:49 +00:00
Victor Dibia
2b8b55b30e Update bug_report.yml (#1811)
## What
This modification asks the user to explicitly mention the model used in their experiments. 


## Why
Frequently, many issues can be better understood by reviewing the model used. For example, small models have limitations in their ability to generate code in code blocks or follow complex instructions leading to errors.
2024-03-01 00:42:31 +00:00
Jack Gerrits
f6c9b13ac4 Extend process_notebooks for testing (#1789)
* Extend process_notebooks for testing

* add command

* spelling and lint

* update docs

* Update contributing.md

* add shebang

* Update contributing.md

* lint
2024-02-29 20:47:30 +00:00
Abhay Mathur
4d0d486115 Add function generator and validator to gallery (#1807) 2024-02-29 15:48:10 +00:00
Jack Gerrits
76ef0789c0 Implement docker based jupyter executor (#1794)
* Implement docker based jupyter client

* formatting

* skip docker tests when asked

* feedback

* add log

* update build

* formatting

* structural changes

* update setup.py

* update tests

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-02-29 14:54:11 +00:00
Gunnar Kudrjavets
b8ceb866e6 Add shebang functionality to tests (#1784)
Tests that contain `if __name__ == "__main__":` now have a shebang line
and execute permission.
2024-02-29 01:11:08 +00:00
Beibin Li
5b0c919d7d Debug: Resolve the DALLE Agent's self.client error. (#1798)
* Change defualt model for `lmm`

* Try to use PIL image for LMM's _oai_messages

* Update test cases and llava

* Remove redundant files

* Update the imports for lmm tests

* Test case fix

* Docstring update

* LMM notebook lint

* Typo correction for img_utils and its test

* Fix self.client bug for Dalle Agent
The self.client member variable is reserved for OpenAI's LLM-compatible
client, which requires usage summary support.
So, we rename self.client to self._dalle_client to resolve this issue
2024-02-29 00:58:19 +00:00
Kosta Petan
36951aa216 Merge branch 'understanding' 2024-02-28 21:44:42 +01:00
Kosta Petan
42aa7430f0 rewrite done 2024-02-28 21:13:43 +01:00
Kosta Petan
f074bbe37d Simplify subscription 2024-02-28 15:44:13 +01:00
Rohit Singh Rathaur
d35754ddd6 make default model of a constant class variable (#1780)
* make default model of  a constant class variable

* make default model of  a constant class variable

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-02-28 07:24:05 +00:00
Rohit Singh Rathaur
dc89147310 hook-list are updated to accept a sender argument (#1799)
* hook-list are updated to accept a sender argument

* Update the hook function Signature & add assertions for Sender
2024-02-28 06:34:21 +00:00
Jack Gerrits
2cf9ea4700 Update .pre-commit-config.yaml (#1803) 2024-02-27 23:00:29 +00:00
Kosta Petan
125608e372 streaming rewrite WIP 2024-02-27 22:05:22 +01:00
Kosta Petan
b72442a58f streaming rewrite WIP 2024-02-27 21:25:43 +01:00
Shaokun Zhang
b8727893f7 Support functions removing in ConversableAgent (#1786)
* fix

* update

* reformat

---------

Co-authored-by: “skzhang1” <“shaokunzhang529@gmail.com”>
2024-02-27 18:42:56 +00:00