Create dropdown box to select which model to use in the GUI on startup
This commit is contained in:
@@ -72,6 +72,7 @@ app.on('window-all-closed', () => {
|
||||
|
||||
const kuzcoCore = new KuzcoCore();
|
||||
|
||||
ipcMain.handle('send-prompt', async (event, prompt) => {
|
||||
return await kuzcoCore.sendPrompt(prompt);
|
||||
});
|
||||
ipcMain.handle('send-prompt', async (event, { prompt, model }) => {
|
||||
console.log("Received model in main process:", model);
|
||||
return await kuzcoCore.sendPrompt(prompt, model);
|
||||
});
|
||||
Reference in New Issue
Block a user