Added Cloudflare Worker Compatible Configs (#2343)

This commit is contained in:
Saket Aryan
2025-03-10 01:41:47 +05:30
committed by GitHub
parent d3911b92cf
commit e30e4967ae
8 changed files with 25 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ const useUserId = () => {
export const Assistant = () => {
const { userId, resetUserId } = useUserId();
const runtime = useChatRuntime({
api: "/api/chat",
api: "https://demo.mem0.ai/api/chat",
body: { userId },
});