fix: improve maintenance and synchronize live conversations
This commit is contained in:
1 parent
bb541bd212
commit
ef86a5d3af
297 files changed
+2983
-1274
No files matched your search
@@ -17,7 +17,6 @@ limitations under the License.
|
||||
from datetime import datetime
|
||||
from pydantic import BaseModel, Field
|
||||
from typing import List, Optional, Dict
|
||||
from enum import Enum
|
||||
from uuid import UUID
|
||||
from app.models.agent import AgentType
|
||||
from app.agents.guardrail_policy import GUARDRAIL_PROMPT_MAX
|
||||
|
||||
@@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
from pydantic import BaseModel
|
||||
from typing import Optional, List, Any
|
||||
from app.models.schemas.agent import AgentResponse
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ limitations under the License.
|
||||
"""
|
||||
|
||||
from pydantic import BaseModel, ConfigDict, Field, field_validator
|
||||
from typing import Optional, List, Dict, Any
|
||||
from typing import Optional, List
|
||||
from uuid import UUID
|
||||
|
||||
# Reuse the ORM enums so the API contract can never drift from the DB.
|
||||
|
||||
@@ -16,10 +16,9 @@ limitations under the License.
|
||||
|
||||
from datetime import datetime
|
||||
from pydantic import BaseModel, Field, field_serializer, validator
|
||||
from typing import List, Optional, Dict, Union
|
||||
from typing import List, Optional, Dict
|
||||
from enum import Enum
|
||||
from uuid import UUID
|
||||
from app.models.mcp_tool import MCPTransportType
|
||||
|
||||
|
||||
class MCPTransportTypeEnum(str, Enum):
|
||||
|
||||
@@ -26,4 +26,16 @@ from .agent_shopify_config import (
|
||||
AgentShopifyConfigCreate,
|
||||
AgentShopifyConfigUpdate,
|
||||
AgentShopifyConfig
|
||||
)
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"ShopifyShopBase",
|
||||
"ShopifyShopCreate",
|
||||
"ShopifyShopUpdate",
|
||||
"ShopifyShopInDB",
|
||||
"ShopifyShop",
|
||||
"AgentShopifyConfigBase",
|
||||
"AgentShopifyConfigCreate",
|
||||
"AgentShopifyConfigUpdate",
|
||||
"AgentShopifyConfig",
|
||||
]
|
||||
@@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
"""
|
||||
|
||||
from pydantic import BaseModel, Field, validator
|
||||
from typing import Optional, List, Dict, Any, Union, Literal
|
||||
from pydantic import BaseModel, Field
|
||||
from typing import Optional, List, Dict, Any, Literal
|
||||
from uuid import UUID
|
||||
from datetime import datetime
|
||||
from app.models.workflow import WorkflowStatus
|
||||
|
||||
Reference in new issue
Block a user