3039 Commits

Author SHA1 Message Date
Jack Gerrits
11df53bb39
Make notebooks available in navbar (#1956) v0.2.18 2024-03-11 22:46:39 +00:00
Chi Wang
523581825b
improve validation of llm_config (#1946)
* improve validation of llm_config

* fixed test_register_for_llm_without_LLM

* docstr about llm_config=None

* Make None a sentinel

* pop tools

---------

Co-authored-by: Davor Runje <davor@airt.ai>
2024-03-11 22:36:00 +00:00
olgavrou
ce71d85e77
Ability to fine tune custom model on conversable agents (#1787)
* uAbility to update_model on conversable agents

* formatting

* formatting

* move code from conversable agent into samples/tools and add testing and README

* forgot install step

* fix

* leave core lib unchanged and move everything to samples/tools

* remove skip openai

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-03-11 21:26:53 +00:00
Abhay Mathur
b93e2c5eb4
checking for NotADirectoryError as well (#1948) 2024-03-11 19:29:56 +00:00
Jack Gerrits
968483369c
Update whisper notebook to use new function registration syntax (#1918)
* Update notebook to use new function registration syntax

* Update agentchat_video_transcript_translate_with_whisper.ipynb

* formatting
2024-03-11 18:10:50 +00:00
andreyseas
579c3cc466
Fixed simple grammatical mistake (#1952) 2024-03-11 18:07:11 +00:00
Yiran Wu
1ead0ec6e1
update guidance for doc build (#1951) 2024-03-11 17:55:47 +00:00
Jack Gerrits
80233709e1
Move LLM Caching docs to topics (#1950)
* Move LLM Caching docs to topics

* Update llm-caching.md
2024-03-11 17:30:55 +00:00
Benjamin Muskalla
4a85b63216
Fix branch info for docker build (#1935) 2024-03-11 06:40:10 +00:00
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