@prexo/ai-chat-sdk
Version:
AI Chat Component with Persistent History
12 lines (11 loc) • 325 B
JavaScript
import { clsx } from "clsx";
import { twMerge } from "tailwind-merge";
function cn(...inputs) {
return twMerge(clsx(inputs));
}
const is_DEV = process.env.NODE_ENV === "development";
const BASE_API_ENDPOINT = is_DEV ? "http://localhost:3001/v1/sdk" : "https://api.prexoai.xyz/v1/sdk";
export {
BASE_API_ENDPOINT,
cn
};