feat:注释大模型数据控制台打印

This commit is contained in:
liailing1026
2026-01-30 15:24:22 +08:00
parent aedfd0594c
commit 6e4d8f0b6d

View File

@@ -37,8 +37,8 @@ AgentProfile_Dict = {}
Request_Cache: dict[str, str] = {}
app = Flask(__name__)
app.config['SECRET_KEY'] = 'agentcoord-secret-key'
# socketio = SocketIO(app, cors_allowed_origins="*", async_mode='threading')
socketio = SocketIO(app, cors_allowed_origins="*", async_mode='eventlet')
socketio = SocketIO(app, cors_allowed_origins="*", async_mode='threading')
#socketio = SocketIO(app, cors_allowed_origins="*", async_mode='eventlet')
def truncate_rehearsal_log(RehearsalLog: List, restart_from_step_index: int) -> List:
@@ -1768,5 +1768,5 @@ if __name__ == "__main__":
args = parser.parse_args()
init()
# 使用 socketio.run 替代 app.run支持WebSocket
# socketio.run(app, host="0.0.0.0", port=args.port, debug=True, allow_unsafe_werkzeug=True)
socketio.run(app, host="0.0.0.0", port=args.port, debug=False, allow_unsafe_werkzeug=True)
socketio.run(app, host="0.0.0.0", port=args.port, debug=True, allow_unsafe_werkzeug=True)
#socketio.run(app, host="0.0.0.0", port=args.port, debug=False, allow_unsafe_werkzeug=True)