feat: update codex live chat workflow
This commit is contained in:
@@ -2,7 +2,7 @@ import { env } from './config/env.js';
|
||||
import { db } from './db/client.js';
|
||||
import { createApp } from './app.js';
|
||||
import { ChatService } from './services/chat-service.js';
|
||||
import { clearAllChatConversationJobStates } from './services/chat-room-service.js';
|
||||
import { clearAllChatConversationJobStates, ensureChatConversationTables } from './services/chat-room-service.js';
|
||||
import { shutdownNotificationProvider } from './services/notification-service.js';
|
||||
import { PlanWorker } from './workers/plan-worker.js';
|
||||
|
||||
@@ -13,6 +13,7 @@ app.server.on('upgrade', chatService.attachUpgradeHandler());
|
||||
|
||||
async function start() {
|
||||
try {
|
||||
await ensureChatConversationTables();
|
||||
await clearAllChatConversationJobStates();
|
||||
await app.listen({
|
||||
host: '0.0.0.0',
|
||||
|
||||
Reference in New Issue
Block a user