mirror of
https://github.com/microsoft/autogen.git
synced 2025-08-03 14:22:34 +00:00

<!-- 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? This PR updates AGS to use the declarative config serialization native to AgentChat. The effect? You can build your teams/artifacts directly in python, run `team.dump_component()` and immediately run it in AGS. Some change details: - Removes ComponentFactory. Instead TeamManager just loads team specs directly using `Team.load_component`. - Some fixes to the UI to simplify drag and drop experience. - Improve layout of nodes... <!-- Please give a short summary of the change and the problem this solves. --> ## Related issue number <!-- For example: "Closes #1234" --> Closes #4439 Closes #5172 ## Checks - [ ] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation 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. cc @EItanya @nour-bouzid
26 lines
415 B
Python
26 lines
415 B
Python
from .db import Message, Run, RunStatus, Session, Team
|
|
from .types import (
|
|
Gallery,
|
|
GalleryComponents,
|
|
GalleryItems,
|
|
GalleryMetadata,
|
|
MessageConfig,
|
|
MessageMeta,
|
|
Response,
|
|
SocketMessage,
|
|
TeamResult,
|
|
)
|
|
|
|
__all__ = [
|
|
"Team",
|
|
"Run",
|
|
"RunStatus",
|
|
"Session",
|
|
"Team",
|
|
"MessageConfig",
|
|
"MessageMeta",
|
|
"TeamResult",
|
|
"Response",
|
|
"SocketMessage",
|
|
]
|