providers table, create, and edit first pass

This commit is contained in:
miloschwartz
2026-08-03 10:36:42 -04:00
parent 1c9ede9729
commit 0d9a01a066
16 changed files with 2141 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
import AiProviderContext from "@app/contexts/aiProviderContext";
import { useContext } from "react";
export function useAiProviderContext() {
const context = useContext(AiProviderContext);
if (context === undefined) {
throw new Error(
"useAiProviderContext must be used within an AiProviderProvider"
);
}
return context;
}