- 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

@@ -9,8 +9,6 @@ from common.extensions import db, template_manager, cache_manager
from config.logging_config import LOGGING
from config.config import get_config
from . import specialists, retrievers
def create_app(config_file=None):
app = Flask(__name__)
@@ -30,6 +28,8 @@ def create_app(config_file=None):
app.logger.info('Starting up eveai_chat_workers...')
register_extensions(app)
from . import specialists, retrievers
celery = make_celery(app.name, app.config)
init_celery(celery, app)