Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also orlearn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also.Learn more about diff comparisons here.
base repository:microsoft/autogen
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base:python-v0.6.2
Choose a base ref
Loading
...
head repository:microsoft/autogen
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare:python-v0.6.4
Choose a head ref
Loading
  • 19commits
  • 262files changed
  • 11contributors

Commits on Jul 1, 2025

  1. Configuration menu
    Copy the full SHA
    8ed8c56View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2025

  1. Fix function calling support for Llama3.3 (#6750)

    ## Why are these changes needed?This PR fixes incorrect model metadata for llama3.3.The function_calling capability was previously set to False, but[llama3.3 supports functioncalling.](https://www.llama.com/docs/model-cards-and-prompt-formats/llama3_3/)with [ollama](https://ollama.com/library/llama3.3).<!-- Please give a short summary of the change and the problem thissolves. -->## Related issue number<!-- For example: "Closes#1234" -->## 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> tobuild and test documentation locally.- [x] I've added tests (if relevant) corresponding to the changesintroduced in this PR.- [x] I've made sure all auto checks have passed.Co-authored-by: mh <>
    @Z1m4-blu3
    Z1m4-blu3 authoredJul 6, 2025
    Configuration menu
    Copy the full SHA
    aa0d835View commit details
    Browse the repository at this point in the history
  2. Fix GraphFlow to support multiple task execution without explicit res…

    …et (#6747)## ProblemWhen using GraphFlow with a termination condition, the second taskexecution would immediately terminate without running any agents. Thefirst task would run successfully, but subsequent tasks would skip allagents and go directly to the stop agent.This was demonstrated by the following issue:```python# First task runs correctlyresult1 = await team.run(task="First task")  # ✅ Works fine# Second task fails immediately  result2 = await team.run(task="Second task")  # ❌ Only user + stop messages```## Root CauseThe `GraphFlowManager` was not resetting its execution state whentermination occurred. After the first task completed:1. The `_ready` queue was empty (all nodes had been processed)2. The `_remaining` and `_enqueued_any` tracking structures remained in"completed" state3. The `_message_thread` retained history from the previous taskThis left the graph in a "completed" state, causing subsequent tasks toimmediately trigger the stop agent instead of executing the workflow.## SolutionAdded an override of the `_apply_termination_condition` method in`GraphFlowManager` to automatically reset the graph execution state whentermination occurs:```pythonasync def _apply_termination_condition(    self, delta: Sequence[BaseAgentEvent | BaseChatMessage], increment_turn_count: bool = False) -> bool:    # Call the base implementation first    terminated = await super()._apply_termination_condition(delta, increment_turn_count)        # If terminated, reset the graph execution state and message thread for the next task    if terminated:        self._remaining = {target: Counter(groups) for target, groups in self._graph.get_remaining_map().items()}        self._enqueued_any = {n: {g: False for g in self._enqueued_any[n]} for n in self._enqueued_any}        self._ready = deque([n for n in self._graph.get_start_nodes()])        # Clear the message thread to start fresh for the next task        self._message_thread.clear()        return terminated```This ensures that when a task completes (termination condition is met),the graph is automatically reset to its initial state ready for the nexttask.## TestingAdded a comprehensive test case`test_digraph_group_chat_multiple_task_execution` that validates:- Multiple tasks can be run sequentially without explicit reset calls- All agents are executed the expected number of times  - Both tasks produce the correct number of messages- The fix works with various termination conditions(MaxMessageTermination, TextMentionTermination)## ResultGraphFlow now works like SelectorGroupChat where multiple tasks can berun sequentially without explicit resets between them:```python# Both tasks now work correctlyresult1 = await team.run(task="First task")   # ✅ 5 messages, all agents calledresult2 = await team.run(task="Second task")  # ✅ 5 messages, all agents called again```Fixes#6746.> [!WARNING]>> <details>> <summary>Firewall rules blocked me from connecting to one or moreaddresses</summary>>> #### I tried to connect to the following addresses, but was blocked byfirewall rules:>> - `esm.ubuntu.com`>   - Triggering command: `/usr/lib/apt/methods/https` (dns block)>> If you need me to access, download, or install something from one ofthese locations, you can either:>> - Configure [Actions setupsteps](https://gh.io/copilot/actions-setup-steps) to set up myenvironment, which run before the firewall is enabled> - Add the appropriate URLs or hosts to my [firewall allowlist](https://gh.io/copilot/firewall-config)>> </details><!-- START COPILOT CODING AGENT TIPS -->---💬 Share your feedback on Copilot coding agent for the chance to win a$200 gift card! Click[here](https://survey.alchemer.com/s3/8343779/Copilot-Coding-agent) tostart the survey.---------Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Co-authored-by: ekzhu <320302+ekzhu@users.noreply.github.com>Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
    @Copilot@ekzhu
    3 people authoredJul 6, 2025
    Configuration menu
    Copy the full SHA
    c23b945View commit details
    Browse the repository at this point in the history
  3. Fix GraphFlowManager termination to prevent _StopAgent from polluting…

    … conversation context (#6752)Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Co-authored-by: ekzhu <320302+ekzhu@users.noreply.github.com>Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
    @Copilot@ekzhu
    3 people authoredJul 6, 2025
    Configuration menu
    Copy the full SHA
    e107674View commit details
    Browse the repository at this point in the history
  4. Add tool name and description override functionality to Workbench imp…

    …lementations (#6690)Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>Co-authored-by: ekzhu <320302+ekzhu@users.noreply.github.com>Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
    @Copilot@ekzhu
    3 people authoredJul 6, 2025
    Configuration menu
    Copy the full SHA
    0bd99eeView commit details
    Browse the repository at this point in the history
  5. Added DuckDuckGo Search Tool and Agent in AutoGen Extensions (#6682)

    Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
    @varadsrivastava@ekzhu
    varadsrivastava andekzhu authoredJul 6, 2025
    Configuration menu
    Copy the full SHA
    13f9a73View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2025

  1. Add script to automatically generate API documentation and remove har…

    …d-coded RST files; fix API docs (#6755)
    @ekzhu
    ekzhu authoredJul 7, 2025
    Configuration menu
    Copy the full SHA
    89841b6View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4a3634dView commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d261904View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    64f2751View commit details
    Browse the repository at this point in the history
  5. Update GitHub Models url to the new url (#6759)

    Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
    @sgoedecke@ekzhu
    sgoedecke andekzhu authoredJul 7, 2025
    Configuration menu
    Copy the full SHA
    02e6574View commit details
    Browse the repository at this point in the history
  6. SingleThreadedAgentRuntime to use subclass check for factory_wrapper …

    …instead of equality (#6731)Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    @ZenWayne@ekzhu@Copilot
    3 people authoredJul 7, 2025
    Configuration menu
    Copy the full SHA
    4ccac43View commit details
    Browse the repository at this point in the history
  7. feat: add qwen2.5vl support (#6650)

    Co-authored-by: Victor Dibia <victordibia@microsoft.com>Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
    @rfsousa@victordibia@ekzhu
    3 people authoredJul 7, 2025
    Configuration menu
    Copy the full SHA
    203323fView commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2025

  1. Configuration menu
    Copy the full SHA
    f881d8aView commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c92530dView commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0a2971cView commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ce1f36View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    af85eb2View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9f2c5aaView commit details
    Browse the repository at this point in the history
Loading

[8]ページ先頭

©2009-2025 Movatter.jp