cvpilot-tool/apps/desktop/electron/ipcEvent/llm/index.ts

11 lines
346 B
TypeScript
Raw Normal View History

2024-09-24 15:18:16 +08:00
import { ipcMain } from "electron";
2024-09-25 16:15:03 +08:00
// import { ollama, run } from "../../core/ollama";
2024-09-24 15:18:16 +08:00
export const registerOllama = async () => {
// const list = await ollama.list();
// console.log(list);
2024-09-25 16:15:03 +08:00
// ipcMain.handle("chat", async (_event, input: string) => {
// const answer = await run("qwen2.5:3B", input);
// return answer;
// });
2024-09-24 15:18:16 +08:00
};