Include Deck chat profiles in runtime memory fit

This commit is contained in:
Mikei386
2026-09-30 08:03:46 +02:00
parent dfe3c4398c
commit 638202ee86
4 changed files with 41 additions and 6 deletions
+2
View File
@@ -73,6 +73,8 @@ class Server(ThreadingHTTPServer):
self.catalog = Catalog(Path(state_dir or os.environ.get("DECK_STATE_DIR", ROOT/".state"))/"models")
self.runtime = Runtime(Path(state_dir or os.environ.get("DECK_STATE_DIR", ROOT/".state"))/"runtime")
self.profiles = Profiles(self.catalog.root.parent/"profiles.json",self.catalog)
self.runtime.catalog=self.catalog
self.runtime.profiles=self.profiles
self.image_tests = ImageTests(self.catalog.root.parent/"image-tests",self.profiles)
self.image_runtime = ImageRuntime(self.catalog.root.parent/"image-runtime")
self.image_tests.runtime = self.image_runtime