| 1 |
from typing import Union |
| 2 |
from typing_extensions import Annotated, TypeAlias |
| 3 |
|
| 4 |
from .._models import UnionDiscriminator |
| 5 |
from .cache_miss_unavailable import CacheMissUnavailable |
| 6 |
from .cache_miss_model_changed import CacheMissModelChanged |
| 7 |
from .cache_miss_tools_changed import CacheMissToolsChanged |
| 8 |
from .cache_miss_system_changed import CacheMissSystemChanged |
| 9 |
from .cache_miss_messages_changed import CacheMissMessagesChanged |
| 10 |
from .cache_miss_previous_message_not_found import CacheMissPreviousMessageNotFound |
| 11 |
|
| 12 |
__all__ = ["CacheMissReason"] |
| 13 |
|
| 14 |
CacheMissReason: TypeAlias = Annotated[ |
| 15 |
Union[ |
| 16 |
CacheMissModelChanged, |
| 17 |
CacheMissSystemChanged, |
| 18 |
CacheMissToolsChanged, |
| 19 |
CacheMissMessagesChanged, |
| 20 |
CacheMissPreviousMessageNotFound, |
| 21 |
CacheMissUnavailable, |
| 22 |
], |
| 23 |
UnionDiscriminator("type"), |
| 24 |
] |