diff --git a/api_webchat/controller.js b/api_webchat/controller.js index 46b2b3c6..8943784d 100644 --- a/api_webchat/controller.js +++ b/api_webchat/controller.js @@ -24,7 +24,7 @@ // The controller wires up all the components and workers together, // managing the dependencies. A kind of "DI" class. -const worker = new Worker('model-worker.js', { type: 'module' }); +const worker = new Worker('model-worker-openai.js', { type: 'module' }); const messagesArea = document.querySelector('messages-area'); messagesArea.init(worker); diff --git a/api_webchat/model-worker.js b/api_webchat/model-worker-openai.js similarity index 100% rename from api_webchat/model-worker.js rename to api_webchat/model-worker-openai.js