agent-control-center/backend/models.py
2026-07-20 22:09:10 +07:00

13 lines
328 B
Python

from pydantic import BaseModel
from typing import Literal, Optional
class Agent(BaseModel):
id: str
name: str
status: Literal["online", "offline", "busy"] = "online"
runtime: str = "?"
model: str = "?"
healthy: bool = True
class AgentUpdate(BaseModel):
status: Literal["online", "offline", "busy"]