Enhance backend functionality with OASIS simulation features
- Updated README.md to include new simulation scripts and configuration details for OASIS, including API retry mechanisms and environment variable settings. - Added simulation management and configuration generation services to streamline the simulation process across Twitter and Reddit platforms. - Introduced new API routes for simulation-related operations, including entity retrieval and simulation status management. - Implemented a robust retry mechanism for external API calls to improve system stability. - Enhanced task management model to include detailed progress tracking. - Added logging capabilities for action tracking during simulations. - Included new scripts for running parallel simulations and testing profile formats.
This commit is contained in:
@@ -46,8 +46,9 @@ def create_app(config_class=Config):
|
||||
return response
|
||||
|
||||
# 注册蓝图
|
||||
from .api import graph_bp
|
||||
from .api import graph_bp, simulation_bp
|
||||
app.register_blueprint(graph_bp, url_prefix='/api/graph')
|
||||
app.register_blueprint(simulation_bp, url_prefix='/api/simulation')
|
||||
|
||||
# 健康检查
|
||||
@app.route('/health')
|
||||
|
||||
Reference in New Issue
Block a user