Skip to content

Commit

Permalink
Merge pull request #30 from ag2ai/swarmag2
Browse files Browse the repository at this point in the history
Swarm V2
  • Loading branch information
qingyun-wu authored Nov 21, 2024
2 parents 6abff18 + 8e6710b commit c1ebda0
Show file tree
Hide file tree
Showing 2 changed files with 407 additions and 2 deletions.
20 changes: 18 additions & 2 deletions autogen/agentchat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,22 @@
from .agent import Agent
from .assistant_agent import AssistantAgent
from .chat import ChatResult, initiate_chats

# Imported last to avoid circular imports
from .contrib.swarm_agent import (
AFTER_WORK,
ON_CONDITION,
AfterWorkOption,
SwarmAgent,
SwarmResult,
initiate_swarm_chat,
)
from .conversable_agent import ConversableAgent, register_function
from .groupchat import GroupChat, GroupChatManager
from .user_proxy_agent import UserProxyAgent
from .utils import gather_usage_summary

__all__ = (
__all__ = [
"Agent",
"ConversableAgent",
"AssistantAgent",
Expand All @@ -23,4 +33,10 @@
"initiate_chats",
"gather_usage_summary",
"ChatResult",
)
"initiate_swarm_chat",
"SwarmAgent",
"SwarmResult",
"ON_CONDITION",
"AFTER_WORK",
"AfterWorkOption",
]
Loading

0 comments on commit c1ebda0

Please sign in to comment.