11 lines
346 B
TypeScript
11 lines
346 B
TypeScript
import { ipcMain } from "electron";
|
|
// import { ollama, run } from "../../core/ollama";
|
|
export const registerOllama = async () => {
|
|
// const list = await ollama.list();
|
|
// console.log(list);
|
|
// ipcMain.handle("chat", async (_event, input: string) => {
|
|
// const answer = await run("qwen2.5:3B", input);
|
|
// return answer;
|
|
// });
|
|
};
|