fixed the configuration name for "response_mimetype"

This commit is contained in:
faraphel 2025-01-08 21:54:27 +01:00
parent 71eff944dd
commit dc8e42e94d

View file

@ -16,7 +16,7 @@ class BaseModel(abc.ABC):
# the model manager
self.manager = manager
# the mimetype of the model responses
self.response_mimetype: str = configuration.get("response_type", "application/json")
self.response_mimetype: str = configuration.get("response_mimetype", "application/json")
self._loaded = False