* Decouple model_context from AssistantAgent
* add UnboundedBufferedChatCompletionContext to mimic pervious model_context behaviour on AssistantAgent
* moving unbounded buffered chat to a different file
* fix model_context assertions in test_group_chat
* Refactor model context, introduce states
* fixes
* update
---------
Co-authored-by: aditya.kurniawan <aditya.kurniawan@core42.ai>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Co-authored-by: Victor Dibia <victordibia@microsoft.com>
* moves AgentId into Agent
* Renames AgentRuntime to AgentMessenger (more accurate name)
* Remove IAgentRuntime Interface
* changes constructor of Agent to take IAgentWorker instead of IAgentRuntime
* refactor renaming agent base
* 1st draft
* 1st draft
* format
* rename the tsts
* move IagentWorker
* 1st draft
* format
* gen-proto
* run gen-proto-samples
* format
* merge problem format
1. convert dataclass types to pydantic basemodel
2. add save_state and load_state for ChatAgent
3. state types for AgentChat
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* add ui streaming to distributed group chat example
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* fix pyright error after updating dependencies
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
---------
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* first notebook for distributed rock, paper and scissors
* add distributed group chat notebook
* fix formatting
* fix pipeline issues
* fix formatting issue
* promote distributed group chat notebook into a multiple files
* fix docs
* fix docs
* fix pyright
* Apply suggestions from code review
Add PR review suggestions
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* improving group chat manager from round robin to LLM based
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* remove lfs file to fix
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* add gut back using lfs
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* re-add gif using lfs
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* remove gitattributes
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
* redo git lfs add
---------
Signed-off-by: Mohammad Mazraeh <mazraeh.mohammad@gmail.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
* add subscription deduplication
* format
---------
Co-authored-by: Mohammad Mazraeh <mmazraeh@microsoft.com>
Co-authored-by: Ryan Sweet <rysweet@microsoft.com>
* 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
* Allow multiple intervention handleres to be supplied
* intervention_handler -> intervention_handlers
* Run format
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>