diff options
Diffstat (limited to 'llamachat/config.py')
| -rw-r--r-- | llamachat/config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llamachat/config.py b/llamachat/config.py index 5c5af14..dec2ba6 100644 --- a/llamachat/config.py +++ b/llamachat/config.py @@ -66,6 +66,7 @@ class Config: chars_per_token: float default_prompt: str prompts_dir: Path + state_path: Path def _runtime_dir() -> Path: @@ -104,6 +105,9 @@ def load(path: Path = CONFIG_PATH) -> Config: chars_per_token=float(values["chars_per_token"]), default_prompt=str(values["default_prompt"]), prompts_dir=path.parent / "prompts", + # Window layout, remembered between runs. Not user-editable config, + # so it sits beside it rather than inside config.toml. + state_path=path.parent / "state.ini", ) |
