Skip to content

Commit

Permalink
Merge branch 'main' into u/#4354
Browse files Browse the repository at this point in the history
  • Loading branch information
rysweet authored Nov 27, 2024
2 parents d5a5fe3 + fe96f7d commit f2ca194
Show file tree
Hide file tree
Showing 50 changed files with 2,744 additions and 4,318 deletions.
19 changes: 17 additions & 2 deletions python/packages/autogen-studio/autogenstudio/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
from .datamodel import *
from .database.db_manager import DatabaseManager
from .datamodel import Agent, AgentConfig, Model, ModelConfig, Team, TeamConfig, Tool, ToolConfig
from .teammanager import TeamManager
from .version import __version__
from .teammanager import *

__all__ = [
"Tool",
"Model",
"DatabaseManager",
"Team",
"Agent",
"ToolConfig",
"ModelConfig",
"TeamConfig",
"AgentConfig",
"TeamManager",
"__version__",
]
8 changes: 2 additions & 6 deletions python/packages/autogen-studio/autogenstudio/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def ui(
host: str = "127.0.0.1",
port: int = 8081,
workers: int = 1,
reload: Annotated[bool, typer.Option("--reload")] = True,
reload: Annotated[bool, typer.Option("--reload")] = False,
docs: bool = True,
appdir: str = None,
database_uri: Optional[str] = None,
Expand Down Expand Up @@ -48,11 +48,7 @@ def ui(
port=port,
workers=workers,
reload=reload,
reload_excludes=[
"**/alembic/*",
"**/alembic.ini",
"**/versions/*"
] if reload else None
reload_excludes=["**/alembic/*", "**/alembic.ini", "**/versions/*"] if reload else None,
)


Expand Down

This file was deleted.

Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .db_manager import DatabaseManager
from .component_factory import ComponentFactory, Component
from .component_factory import Component, ComponentFactory
from .config_manager import ConfigurationManager
from .db_manager import DatabaseManager
Loading

0 comments on commit f2ca194

Please sign in to comment.