Commit Graph

423 Commits

Author SHA1 Message Date
Leonardo Pinheiro c765a34cbf
Move docker code exec to autogen-ext (#3733)
* move docker code exec to autogen-ext

* fix test

* rename docker subpackage

* add missing renamed package

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-10-11 09:28:15 -07:00
Eric Zhu e5e3f11275
Update quick start examples to illustrate how to set up model client completely (#3739) 2024-10-10 14:14:26 -07:00
Eric Zhu 498854aed3
Use script-friendly example in README and quickstart (#3728)
* Use script-friendly example in README and quickstart

* Remove accidentally commited file

* Update instruction
2024-10-09 16:02:42 -07:00
Eric Zhu d7ae970c87
Changing URL; update description; removing v0.2 file (#3729) 2024-10-09 15:54:35 -07:00
Jack Gerrits 31342e3fd1
Clarify magentic one availability (#3720) 2024-10-09 17:20:39 -04:00
Jack Gerrits 23fd92a017
Fix packages link (#3718) 2024-10-09 16:34:39 -04:00
Jack Gerrits 33f5f13832
Fix redirects taking into account base path (#3716) 2024-10-09 15:59:32 -04:00
Jack Gerrits 0758d106cd
Fix output directory for website (#3712) 2024-10-09 15:41:34 -04:00
Eric Zhu 8c5150b1d4
Refactor logging in agentchat (#3709)
* Refactor logging in agentchat

* fix notebook

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-09 15:15:09 -04:00
Jack Gerrits 6567d90941
Update references to autogen (#3708) 2024-10-09 15:12:36 -04:00
Jack Gerrits 2526c69ce9
Include license file in package (#3703) 2024-10-09 15:01:09 -04:00
Jack Gerrits f326b36242
Documentation tweaks (#3705)
* Add extension to handle pydantic docs

* Docs tweaks

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-09 11:46:43 -07:00
Jack Gerrits d037db9f9b
add clarity to site (#3704) 2024-10-09 11:44:01 -07:00
Eric Zhu 64365b6835
Termination condition for agentchat teams (#3696)
* Update PR link in blog post (#3602)

* Update PR link in blog post

* Update index.mdx

* Create CI to tag issues with needs triage (#3605)

* Update issue templates (#3610)

* Update config.yml

* Delete .github/ISSUE_TEMPLATE.md

* Delete .github/ISSUE_TEMPLATE/general_issue.yml

* Update feature_request.yml

* Update feature_request.yml

* Update feature_request.yml

* Update feature_request.yml

* Update bug_report.yml

* Update .github/ISSUE_TEMPLATE/bug_report.yml

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* Update .github/ISSUE_TEMPLATE/config.yml

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* Update bug_report.yml

* Update config.yml

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* termination condition

* Termination condition

* termination condition in group chat manager

* Update module import

* Fix logging

* Clean up

* Fix doc string

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-09 09:26:13 -07:00
Jack Gerrits 333c95155c
Website design tweaks (#3699)
* Style updates for website

* tab styling
2024-10-09 10:08:57 -04:00
Leonardo Pinheiro 53e5951474
Lspinheiro/chore/migrate azure executor autogen ext (#3652)
* migrate code executor and tests

* update extras

* update dependencies and examples

* fix imports

* fix uv lock

* add code_executor to toctree

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-08 15:05:44 -07:00
Eric Zhu ffb16d560a
Set logging of internal messages to debug (#3694)
* Set logging of internal messages to debug

* Fix worker runtime tests
2024-10-08 15:01:13 -07:00
Victor Dibia 4290cfa258
Add Documentation for AgentChat (#3635)
* update docs on agent chat.

* add langchain support

* fix formatting issues

* Update python/packages/autogen-core/docs/src/agentchat-user-guide/index.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* Update python/packages/autogen-core/docs/src/agentchat-user-guide/index.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* add company reseach and literature review examples with tools

* format fixes

* format and type fixes

* add selector groupchat to agentchat index page

* rename quick start as code exec

* type fixes

* format fix

* Remove blank cell from notebooks

---------

Co-authored-by: gagb <gagb@users.noreply.github.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-08 14:35:54 -07:00
Eric Zhu 02ced7c6b3
Selector group chat that uses LLM to select the next speaker (#3680)
* Selector group chat that uses LLM to select the next speaker

* Merge remote-tracking branch 'origin/staging' into selector-groupchat

* Add allow_repeated_speaker option

* Add test for allowed_repeated_speaker=True

* Example for selector group chat

* format

* Rename and index

* title for notebook

* Merge remote-tracking branch 'origin/staging' into selector-groupchat
2024-10-08 13:37:31 -07:00
Mohammad Mazraeh 29c23d53af
add a way to provide extra grpc options (#3667)
* rebase and address PR comments

* address PR feedback
2024-10-08 14:46:12 -04:00
Eric Zhu 54eaa2bb4e
Move tools to agent in `agentchat`; refactored logging to support tool events (#3665)
* Move tool to agent; refactor logging in agentchat

* Update notebook
2024-10-07 09:38:24 -07:00
Mohammad Mazraeh be5c0b5d3e
fix: remove subscription on client disconnect in worker runtime (#3653)
* remove subscription on client disconnect in worker runtime

* address PR feedback

* remove outdated comment

* remove public properties

* fix mypy issue

* address PR feedback

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-05 08:15:01 -07:00
Jack Gerrits c63a034523
try fix docs CI (#3660)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-10-04 10:08:00 -07:00
Jack Gerrits 1f1463e9e2
Add all redirect links (#3659) 2024-10-04 12:21:21 -04:00
Jacob Alber 499b3fcbbf fix: Make cleanup code in docker CodeExecutor asyncio aware (#669)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-10-01 15:38:23 -04:00
Kosta Petan 54c6382e89
fix dotnet distributed tracing (#4)
* fix dotnet distributed tracing

* regenerate protos for python
2024-10-01 12:31:26 -04:00
Jack Gerrits a5d267e986 Update link to 0.2 docs 2024-09-30 20:02:19 -04:00
Jack Gerrits af2b5faeef Update package versions 2024-09-30 19:59:35 -04:00
Jack Gerrits 5cb5bda522 Publish both 0.2 and dev websites 2024-09-30 19:30:34 -04:00
Jack Gerrits 4ea1f7a8b3 Add redirects for old website URLs 2024-09-30 16:41:50 -04:00
Jack Gerrits 1dc91bddd2 Fix lfs 2024-09-30 15:50:28 -04:00
Jack Gerrits d9ca172f5c set baseurl to dev for 0.4 2024-09-30 11:41:22 -04:00
Jack Gerrits d11b421ccd attribute theme 2024-09-30 11:41:05 -04:00
Eric Zhu b2db45d673 Tool use in agentchat (#664)
* Tool use in agentchat

* Update link

* doc string
2024-09-30 10:58:02 -04:00
Eric Zhu da246ef71b
Move tool use with intervention to cookbook; remove duplicated examples (#658) 2024-09-28 03:57:44 +00:00
peterychang d7a5835123
Add Azure code executor cookbook (#615)
* Add Azure code executor cookbook

* Notebook instead of markdown file

* PR comments

* fix method links

* fix a broken link

* fix undefined variable

* fix code errors

* missing parameter

* revert accidental change, ignore async with errors

* formatting
2024-09-27 15:23:20 -04:00
peterychang e0e99a1048
Standardize Agent and Topic ID strings + documentation (#638)
* Standardize Agent and Topic ID strings + documentation

* Add specs

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-26 19:45:38 +00:00
Jack Gerrits 95078d1237
Update conf.py (#650) 2024-09-26 16:38:36 +00:00
Eric Zhu 7ba99186fb
Initial implementation of agentchat (#623)
* WIP implementation for agentchat

* WIP

* WIP

* wip

* WIP

* WIP

* WIP

* WIP

* fix types

* format

* fix build

* Fix build

* use a simpler implementation of thread -- list

* Select speaker to return speaker topic type

* add parent topic type to agent container

* Address comments

* Add check to make sure agent id is constant in a team run.

* Fix build
2024-09-25 23:15:17 +00:00
Eric Zhu 74a55c3907
Add multi-agent-debate pattern in documentation; remove from sample (#637) 2024-09-25 14:45:49 +00:00
Eric Zhu a0ed11f8da
Add advanced mixture of agents guide; replacing the sample script (#634)
* Add moa cookbook for multi-layer mixture-of-agents

* Update moa
2024-09-25 12:19:09 +00:00
Eric Zhu 6c14c7859d
Remove samples that have duplicates in documentation (#631) 2024-09-25 11:26:26 +00:00
Leonardo Pinheiro 09501a0134
Add Broadcasting cookbook (#600)
* add cookbook initial draft

* add all boradcasting scenarios

* add to src tree

* linting

* address feedback

* rename pattern to scenario

---------

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
2024-09-24 20:36:15 -07:00
Enhao Zhang 6dcbf869ad
Fix future cancellation and outstanding_tasks bugs (#619)
* Fix outstanding_tasks and cancellation bugs

* formatting

* Use separate except blocks

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-24 21:09:08 +00:00
Jack Gerrits 7fc5ad9fff
Update installation instructions and banner for release (#625) 2024-09-24 14:58:02 -04:00
Ryan Sweet dca82b3f5d
Rysweet dotnet refactor (#624)
rename the main classes and mixup folder structure
move some tings from samples into core
cleanup cross-deps
cleanup grpc deps
2024-09-24 09:26:30 -07:00
Jack Gerrits dc02719f7c
Check for prints (#616)
* Check for prints

* format
2024-09-23 20:10:57 +00:00
Aamir 0172c7131d
Instrumentation cookbook (#583)
* Update cookbooks

* Fix

* Fix

* Add

* Update indexg

* resolve comments

* casing

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-23 17:53:30 +00:00
Jack Gerrits 3cba258df7
Fix home titleg (#613) 2024-09-23 17:45:16 +00:00
Jack Gerrits 52b06ca519
Update sub title (#612) 2024-09-23 16:39:36 +00:00
Mohammad Mazraeh 1ac52729f4
add subscription deduplication (#594)
* add subscription deduplication

* format

---------

Co-authored-by: Mohammad Mazraeh <mmazraeh@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-09-23 11:57:48 -04:00
Jack Gerrits 58ee8b7fc1
Overhaul landing page, change top links (#611)
* Overhaul landing page, change top links

* agent chat first
2024-09-23 15:37:05 +00:00
Jack Gerrits 93e7127f1f
Change references from agenext to autogen (#610) 2024-09-23 10:46:05 -04:00
Eric Zhu 8ea09318ce
Migrate docs to use BaseAgent.register (#605)
* Migrate docs to use BaseAgent.register

* Migrate docs to use BaseAgent.register

* lint format mypy
2024-09-20 22:42:57 +00:00
Jack Gerrits ab6ba80a98
Update pyright extends for core (#562)
* Update pyright extends for core

* Fixes
2024-09-20 15:51:38 -04:00
Jack Gerrits 9009c2aa96
add test for skip_class_subscriptions (#604) 2024-09-20 15:37:38 +00:00
Eric Zhu 5f961681d8
Improve type subscription core concept with scenarios (#602) 2024-09-20 14:12:09 +00:00
Eric Zhu 6d3a88409e
Merge getting started into guides; update references; add figure for agent life cycle (#599)
* refactor documentation layout

* lint

* update
2024-09-19 17:11:26 -07:00
gagb c7a3cf0dfc
Update application-stack.md (#597)
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-19 23:43:46 +00:00
Eric Zhu 46ca778423
format (#593) 2024-09-19 20:59:39 +00:00
Jack Gerrits d6dce9ebb1
allow class associated subscriptions to be skipped on register (#587)
* allow class associated subscriptions to be skipped on register

* format
2024-09-19 19:50:59 +00:00
gagb 7f25d28aac
Update architecture.md (#588) 2024-09-19 12:01:34 -07:00
Jack Gerrits 19f83debb1
Migrate team one to new subscriptions (#560)
Co-authored-by: afourney <adam.fourney@gmail.com>
2024-09-19 14:10:41 -04:00
Eric Zhu 8018677234
Add response for registering agent type and adding subscriptions in distributed runtime, and throws an exception when error (#582)
* Add response for registering agent type and adding subscriptions in distributed runtime

* Update unit tests

* lint
2024-09-19 10:50:17 -07:00
Jack Gerrits b8dc9fce61
Fix subscription decorator sharing class instances among children (#571) 2024-09-19 10:01:03 -04:00
Eric Zhu fd021db91c
Fix bug in register_factory for worker runtime (#563) 2024-09-19 02:08:35 +00:00
Jack Gerrits 093e261158
Initial impl of new register and subscriptions (#542)
* Initial impl of new register and subscriptions

* progress

* test fixes, main issue was unbound self in routed agent
2024-09-18 14:41:04 -04:00
Taylor Rockey a479a5e692
Update _worker_runtime_host_servicer.py (#557)
Updated _process_request to add to _pending_requests waiting for a response from the target, rather than the source of the request.
2024-09-18 11:19:17 -07:00
Aaron Gätje 4998ab5398
Fix issues in python core samples (#549)
* fix issues

* remove sender from send_message call

* Fix agent type

---------

Co-authored-by: Aaron Gaetje <aagaetje@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-18 10:49:13 -04:00
Jack Gerrits 68932331fd
fix docker samples, improve error message (#548)
* fix docker samples, improve error message

* mypy fixes

* format

* mypy ignore
2024-09-18 10:08:09 -04:00
Jack Gerrits 79c30c1ebf
Fix pypi header icon, remove extra icon (#550) 2024-09-18 10:00:23 -04:00
Jack Gerrits 413b2215c7
move cookbook into correct dir (#547) 2024-09-18 09:22:59 -04:00
Eric Zhu a8002636ad
Add scaffolding for autogen-ext (#541)
* add scaffolding for autogen-ext

* Make it into namespace package

* add uv lock

* add placeholder

* set ext packages

* add  to CI

* connect up docs

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-18 09:12:08 -04:00
Leonardo Pinheiro c60a60e3c9
Add OAI image token count logic (#518) 2024-09-18 04:21:09 -07:00
gagb 53aabb88cb
Update agent-and-multi-agent-application.md (#546)
LGTM
2024-09-18 02:01:21 +00:00
frodoattempts 3568ab67a3
added litellm+ollama cookbook (#509)
* added litellm+ollama cookbook

* fix annotations

* fix type

* fix for ruff

* fix for ruff

* resolve comments

* add to index.rst

* reverting index.rst

* fix to ignore type

---------

Co-authored-by: prankur <prankurrusia@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-17 23:44:47 +00:00
Mohammad Mazraeh 0da2540327
add subscription to agents (#544)
Co-authored-by: Mohammad Mazraeh <mmazraeh@microsoft.com>
2024-09-17 16:38:54 -07:00
Jack Gerrits c6d40ce269
Scale api reference to multiple packages (#538)
* Scale api reference to multiple packages

* Use captioned toctrees per lib

* fix pyright
2024-09-17 14:16:13 -04:00
Eric Zhu c1d4f70924
Fix figure in subscription doc (#534) 2024-09-17 16:25:33 +00:00
Jack Gerrits 13639abcd0
Update packages page (#533) 2024-09-17 12:08:32 -04:00
Kosta Petan 3222632497
Update .net code to use CloudEvent, add Event back to proto definition (#530)
* remove OAgents lib from sln

* add Event back to agent_worker_proto

* regenerate python proto, remove RegisterAgent addition

* add cloudevent.proto to the python generation task
2024-09-17 14:11:17 +00:00
Victor Dibia effde903c8
Transition to Pydata Sphinx Theme (#482)
* add pydata theme dependencies

add some organization of current files to filt #362

add reference

remove jupyter-lite and jupyter-sphinx deps, update python docs to references/python

refactor docs to fit new top level architecture of user guide, contribution, packages and references

add sample switcher json

add skeleton for version switcher

add pointer to note on versioning

Update python/packages/autogen-core/docs/src/_static/switcher.json

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

Update python/packages/autogen-core/docs/src/_static/switcher.json

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

remove unused components

add privacy footer

hide previous and next button

remove 'Section Navigation' from sidebar

make packages a single page

general refactor, add missing items

remove unneeded sidebar conf

remove duplicate content on landing page

update landing page text.

general refactor, remove unreferences files, fix some build errors

* remove extra files

* move readme to correct location

* remove sidebar from packages page, layout updates

* update lock and add clean command

* remove discord

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-17 09:22:38 -04:00
Eric Zhu b2f1b839d9
Update documentation on topic and subscription with illustrations (#523)
* Update runtime architecture documentation

* Update documentation on topic and subscription with illustrations
2024-09-17 08:29:38 +00:00
Eric Zhu 0072ea5a2b
Update runtime architecture documentation (#521) 2024-09-17 00:15:30 -07:00
Eric Zhu aecb437d85
Implementation for `@rpc` and `@event` decorators (#504)
* Implementation for `@rpc` and `@event` decorators

* update
2024-09-16 17:20:44 +00:00
Jack Gerrits 561897b4ee
Disallow unions in dataclass messages, move check to creation instead of usage (#499)
* Disallow unions in dataclass messages, move check to creation instead of usage

* make image serializable by pydantic

* fixup team one

* update lockfile

* fix

* fix dataclass checking bug

* fix mypy
2024-09-16 12:37:26 -04:00
Eric Zhu 1247e0b86b Documentation for command line code executors (#505)
* Documentation for command line code executors

* fix
2024-09-15 23:23:19 -07:00
Jack Gerrits 4efeb640e3 Update quickstart to reference docker requirement (#497) 2024-09-13 11:27:56 -04:00
Eric Zhu a6c1b503ad Distributed agent runtime API for host and worker; unit tests; documentation (#465)
* host agent runtime API and docs

* graceful shutdown of worker

* HostAgentRuntime --> WorkerAgentRuntimeHost

* Add unit tests for worker runtime

* Fix bug in worker runtime adding sender filed to proto. Documentation.

* wip

* Fix unit tests; refactor API

* fix formatting

* Fix

* Update

* Make source field optional in Event proto
2024-09-13 08:17:53 -07:00
Jack Gerrits 0376a0b399 Change examples and docs to use docker executor by default (#494) 2024-09-13 10:56:05 -04:00
Jack Gerrits 306541e247 Fixup ruff config and inclusions (#495)
* add tests to ruff for core

* fmt

* lint

* lint fixes

* fixup more dirs

* dont include non python

* lint fixes

* lint fixes

* fix dir name

* dont relative include
2024-09-13 10:41:15 -04:00
Aamir e25bd2c074 Add messaging attributes to telemetry spans (#490)
* Downgrade protobuf from v5 to v4

* Refactor telemetry and include attributes

* Update

* Remove unused vars

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-09-13 10:00:14 -04:00
Eric Zhu 1ba7a681a9 Fix bug in process event in worker runtime (#492) 2024-09-13 00:02:03 -07:00
Jack Gerrits 3ab51d3006 Port docker code executor, make async, make code executor restart async (#489)
* Port docker code executor, make async, make code executor restart async

* add export

* fmt

* fix async file
2024-09-12 16:33:30 -04:00
Eric Zhu ae10608427 Add missing link to telemetry page (#488) 2024-09-12 04:53:29 -07:00
Eric Zhu 76067a62c0 Use notebook for extract result cookbook, use updated API. (#487) 2024-09-12 04:24:44 -07:00
Eric Zhu 06554c5a45 Update termination handler docs to keep it up-to-date (#486)
* Update termination handler docs to keep it up-to-date

* fix type
2024-09-12 03:59:56 -07:00
Eric Zhu cb9ae44f23 Add documentation to RoutedAgent and message_hander, remove outdated doc content. (#485) 2024-09-12 03:26:33 -07:00
Aamir 461b8a8bbd Add basic OTEL tracing for SingleThreadedAgentRuntime and WorkerAgentRuntime (#459)
* Downgrade protobuf from v5 to v4

* Add some telemetry blocks fo single threaded agent runtime

* Rename

* Add comments

* Update uv sync

* Address build complains

* Fix mypy

* Add tracing for worker

* Add tracing to worker

* Fix

* Fix up

* Update

* Simplify

* UpdateUpdate

* Add test dep for otel sdk

* Minor fix

* Add telemetry docs

* Simple

* Fix mypy

* Add testFix

* Fix merge

* Update telemetry.md

---------

Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-11 19:47:55 -04:00
Ryan Sweet 5dce10d530 move contrinbuting.md symlink (#475) 2024-09-11 15:21:16 -07:00
raimondasl 385b63b36f Fixed AZURE_OPENAI_API_ENDPOINT name. Added needed packages. (#467)
* Fixed AZURE_OPENAI_API_ENDPOINT name. Added needed packages.

* remove hatch comment from doc

---------

Co-authored-by: Raimondas Lencevicius <rlencevicius@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
2024-09-11 14:57:06 -07:00
Ryan Sweet 81463c0c64 Rysweet contibruting.md (#460)
* add standard contributing.md Fill out contributing guide on website #455

* add contibuting.md #455

* Update CONTRIBUTING.md

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* Update CONTRIBUTING.md

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>

* Update CONTRIBUTING.md

Co-authored-by: gagb <gagb@users.noreply.github.com>

* add symlink to top level contributing

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: gagb <gagb@users.noreply.github.com>
2024-09-11 17:40:16 -04:00
Eric Zhu 976a7d4d77 create model context component, remove chat memory component, refactor samples #454 (#469)
* create model context component, remove chat memory component, refactor samples #454

* Fix bugs in samples.

* Fix

* Update docs

* add unit tests
2024-09-11 14:35:35 -07:00
Helen 82bb342fb3 Fix a broken link (#471) 2024-09-11 12:18:26 -07:00
Eric Zhu 2345557c62 add router to message handler Routing Predicates for message_handler in RoutedAgent #397 (#446)
* add router to message handler Routing Predicates for message_handler in RoutedAgent #397

* route --> match

* update docs

* type checking message parameter

* update docs

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-09-11 15:26:09 +08:00
Jack Gerrits 5f86ce18f2 Update task to be something that can be done in a container standalone (#466) 2024-09-10 15:30:05 -04:00
Jack Gerrits 05ff2d33e0 Rename codec to serializer (#462) 2024-09-09 18:32:29 -04:00
Aamir 66e0e8e097 Add slow human in loop sample (#423)
* Add slow human in loop

* Fix

* Fix

* Fix

* Fix input

* Don't persist to json

* Add comment

* Fix imports

* Feedback

* Use if instead of while

* Add stop_when

* Merge from UV

* Multiple handlers

* Allow multiple intervention handleres to be supplied

* intervention_handler -> intervention_handlers

* Fix up

* Merge

* Merge

* Fix termination

* Handle feedback

* fmt

* Fix

* Fix

* Add initial message in the assistant memory

* Documentation

* fmt

* Update comment

* Downgrade protobuf from v5 to v4

* Address feedback

* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* Update python/packages/autogen-core/samples/demos/slow_human_in_loop.py

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>

* Address comment

* Fix

* Fix to use lambda

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-09-09 09:50:52 -07:00
Jack Gerrits 3be2059516 Add some FAQs to the website (#456) 2024-09-06 17:12:56 -04:00
Aamir df362c53cf Downgrade protobuf from v5 to v4 (#453) 2024-09-06 13:49:02 -04:00
Jack Gerrits 8504ea0bf2 Support datacontenttype and lay groundwork for unknown payloads (#444)
* Support datacontenttype and lay groundwork for unknown payloads

* Update dotnet based on proto changes
2024-09-05 16:36:59 -04:00
Jack Gerrits df44d26c87 Fix docs edit link and ref links (#448) 2024-09-05 11:24:02 -04:00
Aamir dacd290f1e Add a generic `stop_when` to runtime (#431)
* Add stop_when

* Format

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 15:28:51 -04:00
Aamir 042958e3ab Allow multiple intervention handlers to be supplied to the runtime (#435)
* Allow multiple intervention handleres to be supplied

* intervention_handler -> intervention_handlers

* Run format

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-08-30 15:24:25 -04:00
Jack Gerrits c72e2484c2 Fix pytest asycio warning (#440) 2024-08-30 14:00:20 -04:00
Jack Gerrits ba64f442de Remove static subscription restriction (#439) 2024-08-30 14:00:11 -04:00
Eric Zhu 479d5fa9d1 Fix documentation bug (#438) 2024-08-30 07:33:46 -07:00
Jack Gerrits 0f9254b4fa Update installation instructions based on directory moves (#436) 2024-08-30 09:37:11 -04:00
Jack Gerrits 4faa5980fb fix version (#430) 2024-08-29 17:21:53 -04:00
Jack Gerrits 581cda0cfd Pin grpc and gen task (#429) 2024-08-29 14:37:03 -04:00
Jack Gerrits 90dfcaf28f Update version and description of core (#427) 2024-08-29 10:56:33 -04:00
Jack Gerrits 4ff5610853 Migrate to uv and poe for workspace management and task running (#424)
* Migrate to uv and poe for workspace management and task running

* install python

* try fix

* ensure workspace venv in used

* package dir

* move nbqa to mypy task

* separate sync, clarify docs
2024-08-29 09:46:06 -04:00
Jack Gerrits 5e8840d13c Python: organize packages in package directory (#420)
* Move packages to packages directory

* remove screenshot

* update some paths
2024-08-28 13:35:21 -04:00