Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose ImportWorkflow Endpoint #3581

Closed
wants to merge 8 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Checkstyle
ofimbres committed Sep 29, 2024

Verified

This commit was signed with the committer’s verified signature. The key has expired.
laravel-shift Laravel Shift
commit 7a48828f2e163017cc3b5c49e93c833850ffccc5
8 changes: 4 additions & 4 deletions samples/apps/autogen-studio/autogenstudio/datamodel.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from datetime import datetime
from enum import Enum
from typing import Any, Callable, Dict, List, Literal, Optional, Union
from pydantic import BaseModel

from pydantic import BaseModel
from sqlalchemy import ForeignKey, Integer, orm
from sqlmodel import (
JSON,
@@ -306,7 +306,7 @@ class ExportedAgent(BaseModel):
skills: List[Skill]
models: List[Model]
agents: List["ExportedAgent"]
task_instruction: Optional[str] = None
task_instruction: Optional[str] = None


class ExportedAgentWithLink(BaseModel):
@@ -315,11 +315,11 @@ class ExportedAgentWithLink(BaseModel):

class ExportedWorkflow(BaseModel):
id: Optional[int] = None
user_id: str = None
user_id: str = None
name: str
summary_method: str = WorkFlowSummaryMethod.last
sample_tasks: Optional[List[str]]
version: str = "0.0.1"
version: str = "0.0.1"
description: str
type: str = WorkFlowType.autonomous
agents: List[ExportedAgentWithLink]