You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG](system) ModelDict claims type[BaseModel] for union alias entry points #869
discover_models returns ModelDict = dict[ModelKey, type[BaseModel]], but a discriminated-union entry point is stored as an Annotated[Union[...], Field(discriminator=...)] alias, which is not a type[BaseModel]. Either entry points become BaseModels only, with a union written as a RootModel, or the annotation widens to what discovery yields.
Activity