File size: 449 Bytes
8a37e0a
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from pydantic import BaseModel, Field


class InvocationCacheStatus(BaseModel):
    size: int = Field(description="The current size of the invocation cache")
    hits: int = Field(description="The number of cache hits")
    misses: int = Field(description="The number of cache misses")
    enabled: bool = Field(description="Whether the invocation cache is enabled")
    max_size: int = Field(description="The maximum size of the invocation cache")