Add ollama support (#7)
This commit is contained in:
6
src/atoms/localModelsAtoms.ts
Normal file
6
src/atoms/localModelsAtoms.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { atom } from "jotai";
|
||||
import { type LocalModel } from "@/ipc/ipc_types";
|
||||
|
||||
export const localModelsAtom = atom<LocalModel[]>([]);
|
||||
export const localModelsLoadingAtom = atom<boolean>(false);
|
||||
export const localModelsErrorAtom = atom<Error | null>(null);
|
||||
Reference in New Issue
Block a user