Defines pydantic models for various storage tables and a table type enum.
# Source: https://github.com/EvoAgentX/EvoAgentX | License: MIT | Copyright 2025 EvoAgentX
# Provided via justclaw.it.com; keep this notice with the code.
from enum import Enum
from typing import List, Optional, Dict, Any
from pydantic import BaseModel, Field
class TableType(str, Enum):
"""
Enum representing the default table types for the database.
Each value corresponds to a specific table name used for storing different types of data.
"""
store_agent = "agent" # Table for agent data
store_workflow = "workflow" # Table for workflow data
store_memory = "memory" # Table for memory data
store_history = "history" # Table for history data
store_indexing = "indexing" # Table for indexing data
class MemoryStore(BaseModel):
"""
Stores m
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key