Include Deck chat profiles in runtime memory fit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user