- Add configuration of agents, tasks, tools, specialist in context of SPIN specialist

- correct startup of applications using gevent
- introduce startup scripts (eveai_app)
- caching manager for all configurations
This commit is contained in:
Josako
2025-01-16 20:27:00 +01:00
parent f7cd58ed2a
commit 7bddeb0ebd
69 changed files with 1991 additions and 345 deletions

View File

@@ -8,8 +8,6 @@ from common.extensions import db, minio_client, template_manager, cache_manager
import config.logging_config as logging_config
from config.config import get_config
from . import processors
def create_app(config_file=None):
app = Flask(__name__)
@@ -28,6 +26,8 @@ def create_app(config_file=None):
register_extensions(app)
from . import processors
celery = make_celery(app.name, app.config)
init_celery(celery, app)
@@ -47,4 +47,3 @@ def register_extensions(app):
app, celery = create_app()