@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
14 lines (11 loc) • 323 B
text/typescript
import { createTRPCClient, httpLink } from '@trpc/client';
import superjson from 'superjson';
import type { DesktopRouter } from '@/server/routers/desktop';
export const desktopClient = createTRPCClient<DesktopRouter>({
links: [
httpLink({
transformer: superjson,
url: '/trpc/desktop',
}),
],
});