Commit Graph

1365 Commits

Author SHA1 Message Date
Rohit Singh Rathaur
b0a8e6e08c Made a configurable constant (#1819)
* Made a configurable constant

* Fix typo

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>

---------

Co-authored-by: Joshua Kim <joshkyh@users.noreply.github.com>
2024-03-10 06:20:47 +00:00
Eric Zhu
a5a0540be9 Update tutorial examples, reference to register_reply. (#1941)
* update tutorial examples, writings, reference to register_reply.

* update

* update
2024-03-10 05:36:34 +00:00
Eric Zhu
bae54073cd Update conversable agent image (#1939)
* Update conversable agent image

* fix

* fix

* fix

* fix
2024-03-10 04:41:15 +00:00
Chi Wang
f247b45500 Update introduction.ipynb (#1934)
* Update introduction.ipynb

* fix json

* word
2024-03-10 04:02:56 +00:00
Jack Gerrits
00e097d4a5 Update more notebooks to be available on the website (#1890)
* Update more notebooks to be available on the website

* fix notebook

* update link
2024-03-10 02:14:45 +00:00
Qingyun Wu
c75655a340 Supporting callable message (#1852)
* add message field

* send

* message func doc str

* test dict message

* retiring soon

* generate_init_message docstr

* remove todo

* update notebook

* CompressibleAgent

* update notebook

* add test

* retrieve agent

* update test

* summary_method args

* summary

* carryover

* dict message

* update nested doc

* generate_init_message

* fix typo

* update docs for mathchat

* Fix missing message

* Add docstrings

* model

* notebook

* default naming

---------

Co-authored-by: Chi Wang <wang.chi@microsoft.com>
Co-authored-by: kevin666aa <yrwu000627@gmail.com>
Co-authored-by: Li Jiang <bnujli@gmail.com>
Co-authored-by: Li Jiang <lijiang1@microsoft.com>
2024-03-09 20:27:46 +00:00
Jack Gerrits
83e1789a50 Fix remove -> remote (#1930)
Fix issue reported from twitternhttps://twitter.com/attila_ibs/status/1766376180662329773
2024-03-09 17:47:26 +00:00
Eric Zhu
74298cda2c AutoGen Tutorial (#1702)
* update intro

* update intro

* tutorial

* update notebook

* update notebooks

* update

* merge

* add conversation patterns

* rename; delete unused files.

* Reorganize new guides

* Improve intro, fix typos

* add what is next

* outline for code executor

* initiate chats png

* Improve language

* Improve language of human in the loop tutorial

* update

* update

* Update group chat

* code executor

* update convsersation patterns

* update code executor section to use legacy code executor

* update conversation pattern

* redirect

* update figures

* update whats next

* Break down chapter 2 into two chapters

* udpate

* fix website build

* Minor corrections of typos and grammar.

* remove broken links, update sidebar

* code executor update

* Suggest changes to the code executor section

* update what is next

* reorder

* update getting started

* title

* update navbar

* Delete website/docs/tutorial/what-is-next.ipynb

* update conversable patterns

* Improve language

* Fix typo

* minor fixes

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: Joshua Kim <joshua@spectdata.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-03-09 17:45:58 +00:00
Wael Karkoub
08e2615322 fix type hint for send intro (#1912)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-09 15:39:48 +00:00
Wael Karkoub
29b9c80c40 General Enhancements in agentchat 2.0 (#1906)
* work in progress

* wip

* groupchat type hints

* clean up

* formatting

* formatting

* clean up

* address comments

* better comment

* updates docstring a_send

* resolve comments

* agent.py back to original format

* resolve more comments

* rename carryover type exception

* revert next_agent changes + keeping UndefinedNextagent

* fixed ciruclar dependencies?

* fix cache tests

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-03-09 15:15:19 +00:00
Jack Gerrits
0e1a4b9fdd Add initial type check CI (#1882)
* Add type check CI

* newline

* dont install editable

* add --non-interactive

* Update type-check.yml
2024-03-09 03:07:51 +00:00
Jack Gerrits
d447f7f646 Print warning if DiskCache when RedisCache requested (#1921) 2024-03-09 01:43:12 +00:00
Griffin Bassman
f2465357cf fix: minor fixes and formatting (#1919) 2024-03-08 17:50:49 +00:00
Jack Gerrits
78a5a6b20c Fix formatting in sequential chat notebook (#1914) 2024-03-08 04:38:18 +00:00
cheng-tan
811fd6926d Fix threading issue for logging (#1901)
* fix mypy errors for logging

* cleanup

* formatting

* fix threading issue in logging

* remove kwarg

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-08 00:08:22 +00:00
Jack Gerrits
2a62ffc566 Resolve all type issues in cache module (#1888)
* Resolve all type issues in cache module

* Union[str, int]
2024-03-07 23:55:29 +00:00
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