fix: improve maintenance and synchronize live conversations

This commit is contained in:
WangShen007 committed 2026-10-29 09:46:21 +08:00
1 parent bb541bd212
commit ef86a5d3af
297 files changed
+2983 -1274

No files matched your search

-1
View File
@@ -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
-1
View File
@@ -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
+1 -1
View File
@@ -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.
+1 -2
View File
@@ -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):
+13 -1
View File
@@ -26,4 +26,16 @@ from .agent_shopify_config import (
AgentShopifyConfigCreate,
AgentShopifyConfigUpdate,
AgentShopifyConfig
)
)
__all__ = [
"ShopifyShopBase",
"ShopifyShopCreate",
"ShopifyShopUpdate",
"ShopifyShopInDB",
"ShopifyShop",
"AgentShopifyConfigBase",
"AgentShopifyConfigCreate",
"AgentShopifyConfigUpdate",
"AgentShopifyConfig",
]
+2 -2
View File
@@ -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