from typing import Optional
from pydantic import BaseModel


class OllamaModelStatus(BaseModel):
    name: str
    size: Optional[int] = None
    downloaded: Optional[int] = None
    status: str
    done: bool
