Skip to content

Commit

Permalink
fix: Configure env prefix for docling settings (#315)
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Auer <[email protected]>
  • Loading branch information
cau-git authored Nov 12, 2024
1 parent c6b3763 commit 5d4a10b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docling/datamodel/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pathlib import Path

from pydantic import BaseModel
from pydantic_settings import BaseSettings
from pydantic_settings import BaseSettings, SettingsConfigDict


class DocumentLimits(BaseModel):
Expand Down Expand Up @@ -40,6 +40,8 @@ class DebugSettings(BaseModel):


class AppSettings(BaseSettings):
model_config = SettingsConfigDict(env_prefix="DOCLING_", env_nested_delimiter="_")

perf: BatchConcurrencySettings
debug: DebugSettings

Expand Down

0 comments on commit 5d4a10b

Please sign in to comment.