397 Commits

Author SHA1 Message Date
Jack Gerrits
d4b406b78c
refactor!: Reduce dependencies of core, remove image from URL (#4919)
* Reduce dependencies of core

* Update lock

* add package to test deps

* Update lock

* aio console dep

* Update lock
2025-01-07 18:30:04 +00:00
Eric Zhu
725d573d5b
Update tutorial content; move selector group chat and swarm outside of tutorial. (#4915)
* Update tutorial content; move selector group chat and swarm outside of tutorial.

* Add redirect

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2025-01-07 09:57:23 -08:00
Jack Gerrits
5b9be79fba
feat!: Add message context to signature of intervention handler, add more to docs (#4882)
* Add message context to signature of intervention handler, add more to docs

* example

* Add to test

* Fix pyright

* mypy
2025-01-07 12:51:35 -05:00
Jack Gerrits
f4382f01c8
Log messages and response for LLMCall event (#4910)
* Log messages and response for LLMCall event

* Remove accidental change

* newline
2025-01-07 12:32:29 -05:00
Griffin Bassman
bdfdc6ab5e
fix: poe check errors to pass (#4917)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2025-01-07 10:48:37 -05:00
Eric Zhu
e11fd8353d
Improve markdown code linting command and update logging documentation and (#4902)
Update logging documentation and improve markdown code linting command
2025-01-06 14:19:17 -08:00
Eric Zhu
d55b8c9044
Update index.md for better clarity and relationship between packages (#4896)
* Improve index page for better clarity

* Add markdown lint check

* Update info

* Update

* typo

* tagline

* tag line update
2025-01-06 14:13:22 -08:00
Eric Zhu
2ff543e876
Add missing API doc for Python code execution tool (#4901)
* Add missing API doc for Python code execution tool

* wip

* Add API doc for the executor tool

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2025-01-06 10:06:54 -08:00
Not Subhuman
4486c67b42
Update magentic-one.md (#4903)
* Update magentic-one.md 

 Add openai extra to the installation instructions

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

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2025-01-05 23:57:23 -08:00
Victor Dibia
2eb46d2fb3
Minor updates to migration-guide.md (#4888)
- remove unecessary todo links

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2025-01-04 08:56:07 -08:00
Jack Gerrits
e168616b7e
Add getting started page for magentic one (#4887) 2025-01-03 15:16:56 -05:00
Jack Gerrits
bac6dc5d83
Add example docstring, dont expand constants in docstrings (#4880) 2025-01-02 18:37:16 -08:00
Eric Zhu
16ceded2d2
Minor fix for incorrect description of teams and add installation instructions for ext agents (#4872)
* Minor fix for incorrect description of teams

* Add installation instructions

---------

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2025-01-02 10:11:13 -05:00
Sachin Joglekar
ecdade3d3e
Add coverage task & integrate with poe check (#4847)
* Add coverage task & integrate with poe check

* Adding workflow

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2025-01-02 09:49:18 -05:00
Jack Gerrits
e6ac2f37fa
Update logged events, add message id to send message (#4868)
* Update logged events

* add message_id

* serialize payload for log

* fix pytest warning

* serialization

* fix test

* lock

* fix warning and test
2024-12-31 15:11:48 -05:00
Jay
d2a74de3ad
Update quickstart.ipynb (#4867)
Solving issue #4866

Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-31 14:56:31 -05:00
Jack Gerrits
fb1094d9c3
Update to dev13 (#4862) 2024-12-30 17:12:51 -05:00
Eric Zhu
cc06ec531e
Clarify tool use in agent tutorial (#4860) 2024-12-30 13:49:51 -08:00
Eric Zhu
156c3f16c2
Migration guide for 0.4 (#4765)
* readme start

* Enhance migration guide with organization overview and section breakdown

* update toc

* Update

* wip

* wip

* WIP

* Finished draft

* add statement

* Update migration guide for v0.4: refine language and clarify PyPI package ownership

* wip

* mv

* Update

* wip

* Add lint for markdown files; fix lint errors

* Fix indent

* Fix syntax

* Fix

* Update python/check_md_code_blocks.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* wip

* WIP

* wip

* fix links

* update

* Add 0.4 component config example

* update

* update

* update

* add conversion function

* wip

* Move

* Update

* Update

* update

* Make buttons side by side

* Update

* small edits

* wip

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-12-30 13:33:08 -08:00
Jack Gerrits
c58eb9d120
Move intervention objects to root module (#4859)
* Move intervention to root

* usage
2024-12-30 16:09:37 -05:00
Jack Gerrits
cb1633b501
feat!: Add support for model family specification (#4856)
* Add support for model family specification

* spelling mistake

* lint, etc

* fixes
2024-12-30 15:09:21 -05:00
Jack Gerrits
190fcd15ed
fix!: Fix SingleThreadedAgentRuntime busy loop (#4855)
* Fix high cpu usage

* Use queue for shutdown

* mypy fixes

* formatting

* missing import
2024-12-30 15:04:20 -05:00
Jack Gerrits
49b52db6ea
Make register_factory a user facing API (#4854)
* Make register_factory a user facing API

* fix docstring

* Update python/packages/autogen-core/src/autogen_core/_agent_runtime.py

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

* formatting

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-30 15:00:42 -05:00
Jack Gerrits
0b34211c1e
refactor!: Remove deprecations (#4853)
* Remove deprecations

* imports
2024-12-30 14:55:21 -05:00
Eric Zhu
5ee2190e00
Replace Tuple[type[ChatMessage], ...] with Sequence[type[ChatMessage]] (#4857) 2024-12-30 11:30:31 -08:00
Eric Zhu
a20ec102d3
AgentChat tutorial update to include model context usage and langchain tool (#4843)
* Doc update to include model context usage

* add langchain tools

* update langchain tool wrapper api doc

* updat

* update

* format

* add langchain experimental dev dep

* type

* Fix type

* Fix some types in langchain adapter

* type ignores
2024-12-30 09:09:33 -08:00
Eric Zhu
d933b9ab5f
dev12 (#4839)
* dev12
2024-12-27 11:49:12 -08:00
Jack Gerrits
ad7433e817
Remove pydantic v1 compat (#4838)
Remove pydantic compat
2024-12-27 11:38:42 -08:00
Jack Gerrits
a5681d73c6
Allow closure agent to ignore unknown messages, add docs (#4836)
Allow closure agent to ignore unknown messages
2024-12-27 13:37:55 -05:00
Eric Zhu
2819515220
Improve agentchat tutorial Teams section (#4834)
* update teams doc

* Update

* fmt
2024-12-27 10:25:36 -08:00
Eric Zhu
b9bd8b0c64
human-in-the-loop section for agentchat tutorial (#4832)
* human-in-the-loop section for agentchat tutorial
2024-12-27 10:20:52 -08:00
Jack Gerrits
fadff4aece
Fix definition of workspace package, remove uv pin (#4830)
* Fix definition of workspace package, remove uv pin

* add  --all-packages

* pin docs uv versions for older project structure

* try old version to verify CI

* Use workflow target

* change syntax

* change check

* try with var in matrix

* add all packages to workspace

* remove project table
2024-12-27 13:11:42 -05:00
Jack Gerrits
461605869c
Update links in extension page to fix 404 (#4827)
Update links in extension page
2024-12-27 12:52:36 -05:00
Jack Gerrits
5bd91fb15e
Accept agent type in more places (#4829)
* Accept agenttype in more places

* remove type hint
2024-12-27 12:21:39 -05:00
Richárd Gyikó
e710f9d04f
Update discover.md with autogen-ext-mcp community package (#4826)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-27 09:58:28 -05:00
Leonardo Pinheiro
c078b252fb
refactor!: Migrate python code executor tool to autogen-ext (#4824)
migrate python code exec to autogen-ext

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-27 08:57:55 -05:00
Sachin Joglekar
d1dff316bc
Update pydantic version & fix mypy errors (#4811)
* Update pydantic version & fix mypy errors

* uv lock changes

* Update lock

* update lockfile

---------

Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-27 08:53:52 -05:00
Leonardo Pinheiro
9a2dbb4fba
Add * before keyword args for ChatCompletionClient (#4822)
add * before keyword args

Co-authored-by: Leonardo Pinheiro <lpinheiro@microsoft.com>
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-27 08:41:16 -05:00
Eric Zhu
edad1b6065
Emphasis on_messages is for new messages only; remove unused file. (#4819)
* Emphasis on_messages is for new messages only

* update

* update uv

* update uv action

* try pin uv version

* pin all uv versions to 0.5.11

* revert uv lock file and remove unwanted file.
2024-12-27 08:34:21 -05:00
Jack Gerrits
0040016bec
Remove usage of internal pydantic functionality for forward ref eval (#4816)
* Remove usage of internal pydantic func

* Update python/packages/autogen-core/tests/test_tools.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update python/packages/autogen-core/tests/test_tools.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Remove unused import NoneType from test_tools.py

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2024-12-26 12:15:54 -08:00
Eric Zhu
f774eaa105
Add minimum dep versions (#4803) 2024-12-26 12:40:32 -05:00
Eric Zhu
4f673192cb
"model" to "chat completion" (#4804)
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2024-12-26 12:12:02 -05:00
gagb
d2537abbab
Add MagenticOne API and CLI (#4782)
* Add MagenticOne API

* Add CodeExecutorAgent to MagenticOne for enhanced task execution

* Refactor MagenticOne class to inherit from MagenticOneGroupChat and streamline initialization

* Enhance MagenticOne class documentation with detailed usage examples and initialization instructions

* Refactor MagenticOne module structure and update import paths

* Remove unused imports

* Add documentation for MagenticOne module and remove redundant initialization comments

* Enhance MagenticOne class with human-in-the-loop mode and update examples

* Update MagenticOne class documentation with safety precautions and architecture details

* Run poe format

* Add blog post reference to MagenticOne class documentation

* change default of websurfer use_ocr to false because of refusals

* Refactor MagenticOne class to use ChatCompletionClient instead of OpenAIChatCompletionClient

* Add client capability validation to MagenticOne initialization

* Poe format

* Refactor imports in MagenticOne class for clarity and organization

* Add stacklevel parameter to warning in client capability validation

* Update README to recommend using Magentic-One API for improved integration

* Add create_args property to OpenAIChatCompletionClient for better access to initialization arguments

* Enhance client capability validation in MagenticOne to ensure compatibility with OpenAI GPT-4o model

* Refactor client capability validation in MagenticOne for improved clarity

* Update magentic_one.py

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

* Remove create_args property from OpenAIChatCompletionClient and update validation logic in MagenticOne to directly access _create_args

* Refactor documentation in MagenticOne for improved readability and consistency

* Refactor client capability validation in MagenticOne to remove unnecessary model check for GPT-4o

* Add MagenticOne CLI (#4788)

* Add MagenticOne CLI script for task execution with OpenAI GPT-4o integration

* Fix argument parsing in MagenticOne CLI to require a single task input

* Add docstring to main function in MagenticOne CLI for improved usage clarity

* Fix example usage in docstring of MagenticOne CLI for correct argument order

* Refactor argument parsing in MagenticOne CLI for improved clarity and consistency

* Add type hints to run_task function in MagenticOne CLI

* Add type hint for main function in MagenticOne CLI

* Remove type ignore from main function call in MagenticOne CLI

---------

Co-authored-by: Hussein Mozannar <hmozannar@microsoft.com>
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-23 16:45:21 -08:00
Eric Zhu
150a54c4f5
Refine types in agentchat (#4802)
* Refine types in agentchat

* importg

* fix mypy
2024-12-23 16:10:46 -08:00
Jack Gerrits
2c76ff9fcc
More improvements for component config (#4799)
* More improvements for component config

* clean output

* working dir

* fix fstring

* key error

* remove mv
2024-12-23 18:29:23 -05:00
peterychang
9c8877ed66
Add API documentation (#4798)
* Add API documentation

* Update python/packages/autogen-core/src/autogen_core/_cancellation_token.py

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

---------

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-23 17:06:56 -05:00
Jack Gerrits
90d6723685
Usability improvements to component config (#4794)
* Usability improvements to component config

* Implement model upgrade
2024-12-23 14:03:58 -05:00
Eric Zhu
4bce1e914a
Update agentchat quickstart to show how to handle multi-round user inputs (#4735)
Update agentchat quickstart to show how to handle multi-round user inputs.
2024-12-20 10:34:53 -08:00
Jack Gerrits
dda208f9b4
Add component config support (#4757)
* Add wip component impl

* finishing touches

* remove test file

* fix json usage

* Format

---------

Co-authored-by: Victor Dibia <victordibia@microsoft.com>
2024-12-20 13:14:24 -05:00
Lanbao
a4c1314432
Correct the spelling errors in models.ipynb (#4767)
Update models.ipynb

Correct the spelling error: opne -> open

Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-20 01:52:29 -08:00