Skip to content

Commit

Permalink
Checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
ofimbres committed Sep 29, 2024
1 parent 7a48828 commit 28d8490
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 132 deletions.
1 change: 1 addition & 0 deletions samples/apps/autogen-studio/autogenstudio/datamodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,7 @@ class ExportedAgentWithLink(BaseModel):
agent: ExportedAgent
link: WorkflowAgentLink


class ExportedWorkflow(BaseModel):
id: Optional[int] = None
user_id: str = None
Expand Down
2 changes: 2 additions & 0 deletions samples/apps/autogen-studio/autogenstudio/web/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ async def export_workflow(workflow_id: int, user_id: str):
@api.post("/workflows/import")
async def import_workflow(exported_workflow: ExportedWorkflow):
"""Import a user workflow"""


async def create_agent_with_links(agent_data: ExportedAgent, parent_agent_id: Optional[int] = None):
agent = Agent(**agent_data.model_dump(exclude={"id", "models", "skills", "agents"}))
await create_agent(agent)
Expand Down
264 changes: 132 additions & 132 deletions test/browser_utils/test_files/test_serp.html

Large diffs are not rendered by default.

0 comments on commit 28d8490

Please sign in to comment.