diff --git a/app/core/config.py b/app/core/config.py index cddaeb5..ba975f9 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -1,8 +1,10 @@ -from pydantic_settings import BaseSettings +from pydantic_settings import BaseSettings, SettingsConfigDict from pathlib import Path class Settings(BaseSettings): + model_config = SettingsConfigDict(env_prefix="XCCLAW_") + opencode_host: str = "127.0.0.1" opencode_port: int = 4096 opencode_password: str = "" @@ -12,8 +14,5 @@ class Settings(BaseSettings): data_dir: Path = Path.home() / "Documents" / "XCDesktop" / "xcclaw" - class Config: - env_prefix = "XCCLAW_" - settings = Settings() diff --git a/console-screenshot.png b/console-screenshot.png new file mode 100644 index 0000000..5d104dc Binary files /dev/null and b/console-screenshot.png differ