-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Comparing changes
Open a pull request
base repository: microsoft/autogen
base: python-v0.5.6
head repository: microsoft/autogen
compare: python-v0.5.7
- 16 commits
- 50 files changed
- 12 contributors
Commits on May 2, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 085ff3d - Browse repository at this point
Copy the full SHA 085ff3dView commit details
Commits on May 6, 2025
-
Add
model_contexttoSelectorGroupChatfor enhanced speaker selec……tion (#6330) ## Why are these changes needed? This PR enhances the `SelectorGroupChat` class by introducing a new `model_context` parameter to support more context-aware speaker selection. ### Changes - Added a `model_context: ChatCompletionContext | None` parameter to `SelectorGroupChat`. - Defaulted to `UnboundedChatCompletionContext` when None is provided like `AssistantAgent`. - Updated `_select_speaker` to prepend context messages from `model_context` to the main thread history. - Refactored history construction into a helper method `construct_message_history`. ## Related issue number Closes [Issue #6301](https://github.com/org/repo/issues/6301), enabling the group chat manager to utilize `model_context` for richer, more informed speaker selection decisions. ## Checks - [x] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [x] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [x] I've made sure all auto checks have passed. --------- Signed-off-by: Abhijeetsingh Meena <abhijeet040403@gmail.com> Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2864fbf - Browse repository at this point
Copy the full SHA 2864fbfView commit details -
Sample for integrating Core API with chainlit (#6422)
## Why are these changes needed? This pull request adds new samples that integrates the Autogen Core API with Chainlit. It closely follows the structure of the Agentchat+Chainlit sample and provides examples for using a single agent and multiple agents in a groupchat. ## Related issue number Closes: #5345 --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bacfa98 - Browse repository at this point
Copy the full SHA bacfa98View commit details
Commits on May 7, 2025
-
Configuration menu - View commit details
-
Copy full SHA for eba05ae - Browse repository at this point
Copy the full SHA eba05aeView commit details
Commits on May 8, 2025
-
Fix: Move the createTeam function (#6487)
## Related issue number Closes #6486
Configuration menu - View commit details
-
Copy full SHA for b17793e - Browse repository at this point
Copy the full SHA b17793eView commit details -
Bump python version, pin nr-utils <!-- Thank you for your contribution! Please review https://microsoft.github.io/autogen/docs/Contribute before opening a pull request. --> Fix docs build CI bug. - pydocmkardown depends on pydocspec -[ pydocspec was updated May 6](https://pypi.org/project/docspec-python/#history) (two days ago), and includes a problematic dependency (`nr.utils` which is specified as [nr-utils](https://github.com/NiklasRosenstein/python-docspec/blob/61d3e38c55d290da6197236357e1cdfe818d35b5/docspec-python/pyproject.toml#L14C5-L14C23). This caused imports to fail. - current fix is fixing the pydocspec version. - Also using the opportunity to update the python version 3.8 -> 3.9 for the docs build 0.2 <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? <!-- Please give a short summary of the change and the problem this solves. --> ## Related issue number <!-- For example: "Closes #1234" --> ## Checks - [ ] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [ ] I've made sure all auto checks have passed.
Configuration menu - View commit details
-
Copy full SHA for 7cc7165 - Browse repository at this point
Copy the full SHA 7cc7165View commit details
Commits on May 9, 2025
-
<!-- Thank you for your contribution! Please review https://microsoft.github.io/autogen/docs/Contribute before opening a pull request. --> Add gpt 4o search models to list of default models ```python "gpt-4o-mini-search-preview-2025-03-11": { "vision": False, "function_calling": True, "json_output": True, "family": ModelFamily.GPT_4O, "structured_output": True, "multiple_system_messages": True, }, "gpt-4o-search-preview-2025-03-11": { "vision": False, "function_calling": True, "json_output": True, "family": ModelFamily.GPT_4O, "structured_output": True, "multiple_system_messages": True, }, ``` <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? <!-- Please give a short summary of the change and the problem this solves. --> ## Related issue number <!-- For example: "Closes #1234" --> Closes #6491 ## Checks - [ ] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [ ] I've made sure all auto checks have passed.
Configuration menu - View commit details
-
Copy full SHA for 1ab2441 - Browse repository at this point
Copy the full SHA 1ab2441View commit details -
Fix header icons focus and hover style for better accessibility (#6409)
## Why are these changes needed? This PR improves keyboard accessibility by ensuring that header links/icons have visual feedback (underline and color change) on both hover and keyboard focus states. Also adds smooth scaling animation. ## Related issue number Related issue: #6090 ## Checks - [☑️] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [☑️] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [☑️] I've made sure all auto checks have passed. Co-authored-by: peterychang <49209570+peterychang@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 356ec34 - Browse repository at this point
Copy the full SHA 356ec34View commit details -
<!-- Thank you for your contribution! Please review https://microsoft.github.io/autogen/docs/Contribute before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? Will the changes made in https://github.com/microsoft/autogen/pull/5853/files and this PR need to be ported to the worker_runtime as well? Resolves #5894 ## Related issue number #5894 ## Checks - [ ] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [ ] I've made sure all auto checks have passed.
Configuration menu - View commit details
-
Copy full SHA for 3db7a29 - Browse repository at this point
Copy the full SHA 3db7a29View commit details
Commits on May 10, 2025
-
Fix AnthropicBedrockChatCompletionClient import error (#6489)
<!-- Thank you for your contribution! Please review https://microsoft.github.io/autogen/docs/Contribute before opening a pull request. --> Some fixes with the AnthropicBedrockChatCompletionClient - Ensure `AnthropicBedrockChatCompletionClient` exported and can be imported. - Update the BedrockInfo keys serialization - client argument can be string (similar to api key in this ) but exported config should be Secret - Replace `AnthropicBedrock` with `AsyncAnthropicBedrock` : client should be async to work with the ag stack and the BaseAnthropicClient it inherits from - Improve `AnthropicBedrockChatCompletionClient` docstring to use the correct client arguments rather than serialized dict format. Expect ```python from autogen_ext.models.anthropic import AnthropicBedrockChatCompletionClient, BedrockInfo from autogen_core.models import UserMessage, ModelInfo async def main(): anthropic_client = AnthropicBedrockChatCompletionClient( model="anthropic.claude-3-5-sonnet-20240620-v1:0", temperature=0.1, model_info=ModelInfo(vision=False, function_calling=True, json_output=False, family="unknown", structured_output=True), bedrock_info=BedrockInfo( aws_access_key="<aws_access_key>", aws_secret_key="<aws_secret_key>", aws_session_token="<aws_session_token>", aws_region="<aws_region>", ), ) # type: ignore result = await anthropic_client.create([UserMessage(content="What is the capital of France?", source="user")]) print(result) await main() ``` <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? <!-- Please give a short summary of the change and the problem this solves. --> ## Related issue number <!-- For example: "Closes #1234" --> Closes #6483 ## Checks - [ ] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [ ] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [ ] I've made sure all auto checks have passed. --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6427c07 - Browse repository at this point
Copy the full SHA 6427c07View commit details
Commits on May 12, 2025
-
fix/mcp_session_auto_close_when_Mcpworkbench_deleted (#6497)
<!-- Thank you for your contribution! Please review https://microsoft.github.io/autogen/docs/Contribute before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? As-is: Deleting `McpWorkbench` does not close the `McpSession`. To-be: Deleting `McpWorkbench` now properly closes the `McpSession`. <!-- Please give a short summary of the change and the problem this solves. --> ## Related issue number <!-- For example: "Closes #1234" --> ## Checks - [ ] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [x] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [x] I've made sure all auto checks have passed.
Configuration menu - View commit details
-
Copy full SHA for c26d894 - Browse repository at this point
Copy the full SHA c26d894View commit details -
Add ability to register Agent instances (#6131)
<!-- Thank you for your contribution! Please review https://microsoft.github.io/autogen/docs/Contribute before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? Nice to have functionality ## Related issue number Closes #6060 ## Checks - [x] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [x] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [x] I've made sure all auto checks have passed. --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9118f9b - Browse repository at this point
Copy the full SHA 9118f9bView commit details -
fixes the issues where exceptions from MCP server tools aren't serial… (
#6482) …ized properly ## Why are these changes needed? The exceptions thrown by MCP server tools weren't being serialized properly - the user would see `[{}, {}, ... {}]` instead of an actual error/exception message. ## Related issue number Fixes #6481 ## Checks - [ ] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [x] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [x] I've made sure all auto checks have passed. --------- Signed-off-by: Peter Jausovec <peter.jausovec@solo.io> Co-authored-by: Victor Dibia <victordibia@microsoft.com> Co-authored-by: Victor Dibia <victor.dibia@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 867194a - Browse repository at this point
Copy the full SHA 867194aView commit details
Commits on May 13, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 177211b - Browse repository at this point
Copy the full SHA 177211bView commit details -
FIX/mistral could not recive name field (#6503)
## Why are these changes needed? FIX/mistral could not recive name field, so add model transformer for mistral ## Related issue number Closes #6147 ## Checks - [ ] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [x] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [x] I've made sure all auto checks have passed. Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 978cbd2 - Browse repository at this point
Copy the full SHA 978cbd2View commit details -
Simplify Azure Ai Search Tool (#6511)
## Why are these changes needed? Simplified the azure ai search tool and fixed bugs in the code ## Related issue number "Closes #6430 " ## Checks - [X] I've included any doc changes needed for <https://microsoft.github.io/autogen/>. See <https://github.com/microsoft/autogen/blob/main/CONTRIBUTING.md> to build and test documentation locally. - [X] I've added tests (if relevant) corresponding to the changes introduced in this PR. - [X] I've made sure all auto checks have passed. Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 87cf4f0 - Browse repository at this point
Copy the full SHA 87cf4f0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff python-v0.5.6...python-v0.5.7