diff --git a/api/core/model_runtime/entities/provider_entities.py b/api/core/model_runtime/entities/provider_entities.py index d0f9ee13e5..589bb84fab 100644 --- a/api/core/model_runtime/entities/provider_entities.py +++ b/api/core/model_runtime/entities/provider_entities.py @@ -135,7 +135,7 @@ class ProviderEntity(BaseModel): model_config = ConfigDict(protected_namespaces=()) # position from plugin _position.yaml - position: Optional[dict[str, list[str]]] = {} + position: Optional[dict[str, Optional[list[str]]]] = {} @field_validator("models", mode="before") @classmethod