fix(qmd): honor XDG_CACHE_HOME for the setup-owned model files
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7ebd61f35b
commit
233152ff54
3 files changed
+8
-2
No files matched your search
+1
-1
@@ -77,7 +77,7 @@ class Setup:
|
||||
self.base = self.home / '.my-ai-configuration'
|
||||
self.state_path = self.base / 'qmd.json'
|
||||
self.scripts = self.base / 'qmd'
|
||||
self.models = self.home / '.cache' / 'qmd' / 'models'
|
||||
self.models = Path(os.environ.get('XDG_CACHE_HOME') or self.home / '.cache') / 'qmd' / 'models'
|
||||
|
||||
def say(self, text):
|
||||
if not self.summary:
|
||||
|
||||
Reference in new issue
Block a user