peterychang
71a3b238e7
Activate deactivate agents ( #4800 )
...
* Instantiate and call activate/deactivate on agents
* autoformatting
* remove activate. Rename deactivate to close
* remove unneeded import
* create close fn in runtime
* change runtime close behavior
* uv.lock
---------
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2025-01-07 21:37:02 +00:00
Eric Zhu
5635ea397f
Improve language for teams note ( #4925 )
2025-01-07 14:51:59 -05:00
Jack Gerrits
7641577f6b
Adds 0.2 docs link to navbar ( #4921 )
2025-01-07 10:38:51 -08:00
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
Jack Gerrits
310564908b
fix!: Move azure auth provider to separate module ( #4912 )
...
* Move azure auth provider to separate module
* Update lock
* fix component gen
2025-01-07 12:21:50 -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
afourney
a6612e683d
Added tests for FileSurfer. ( #4913 )
2025-01-06 16:54:14 -08: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
WcW
a1d782d3ec
Fix: Correct cancellation token usage in UserProxyAgent docstring ( #4874 )
...
Co-authored-by: Jack Gerrits <jackgerrits@users.noreply.github.com>
2025-01-02 11:46:01 -05: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
8a83262a90
add azure deps to openai extra ( #4871 )
...
* add azure deps to openai extra
* lock
2024-12-31 15:23:39 -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
Eric Zhu
9a474f7334
Add magentic one installation instruction ( #4869 )
2024-12-31 11:12:15 -08: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
Gerardo Moreno
0569689e6b
Fix BaseOpenAIChatCompletionClient token usage ( #4770 )
...
* Fix openai client token usage (#4769 )
* Include actual_usage in add_usage function
* Make sure result is assigned
* remove method
---------
Co-authored-by: Jack Gerrits <jack@jackgerrits.com>
2024-12-30 15:33:06 -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
Leon De Andrade
23dbb6a632
Add missing model context attribute ( #4848 )
...
* Add missing model context attribute
* fix type
* Add test
* imports
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2024-12-28 22:50:54 -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