Merge pull request #200 from Kav-K/hiharu

fix docker loads
Kaveen Kumarasinghe 2 years ago committed by GitHub
commit 6b1e06cc1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,7 +32,7 @@ from services.environment_service import EnvService
from models.openai_model import Model
__version__ = "10.9.6"
__version__ = "10.9.7"
PID_FILE = Path("bot.pid")

@ -792,7 +792,7 @@ class Index_handler:
)
# Save the composed index
tree_index.save_to_disk(f"indexes/{user_id}/{name}")
tree_index.save_to_disk(app_root_path()/"indexes"/user_id/name)
self.index_storage[user_id].queryable_index = tree_index
@ -822,7 +822,7 @@ class Index_handler:
name = f"composed_index_{date.today().month}_{date.today().day}.json"
# Save the composed index
simple_index.save_to_disk(f"indexes/{user_id}/{name}")
simple_index.save_to_disk(app_root_path()/"indexes"/user_id/name)
self.index_storage[user_id].queryable_index = simple_index
try:

Loading…
Cancel
Save