@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.
15 lines (12 loc) • 344 B
text/typescript
import { createTRPCClient, httpBatchLink } from '@trpc/client';
import superjson from 'superjson';
import { AsyncRouter } from '@/server/routers/async';
export const asyncClient = createTRPCClient<AsyncRouter>({
links: [
httpBatchLink({
maxURLLength: 2083,
transformer: superjson,
url: '/trpc/async',
}),
],
});