Initial lightweight AI agent admin

This commit is contained in:
Hermes Agent
2026-06-08 15:05:57 +08:00
commit 0e485492cf
49 changed files with 4520 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
from typing import Any, Generic, TypeVar
from pydantic import BaseModel
T = TypeVar("T")
class ResponseModel(BaseModel):
success: bool = True
message: str = "ok"
data: Any | None = None
class Page(BaseModel, Generic[T]):
items: list[T]
total: int
page: int
page_size: int
class IdsIn(BaseModel):
ids: list[str]