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
It would be convenient if one could register other settings-like types as complex (either per model or globally) so that nested env variable explosion works. Case in point, a GenerationConfig from Hugging Face transformers.
Currently pydantic-settings determines whether a field is "complex" (nested) or not based on its annotation as follows:
It would be convenient if one could register other settings-like types as complex (either per model or globally) so that nested env variable explosion works. Case in point, a
GenerationConfig
from Hugging Face transformers.Draft API:
Then one could pass via env vars any of the dozens
GenerationConfig
fields:The text was updated successfully, but these errors were encountered: