Tanstack AI Core Custom Backend Integration

Connect useChat to a non-TanStack-AI backend through custom connection adapters. ConnectConnectionAdapter (single async iterable) vs SubscribeConnectionAdapter (separate subscribe/send). Customize fetchServerSentEvents() and fetchHttpStream() with auth headers, custom URLs, and request options. Import from framework package, not @tanstack/ai-client.

lukasa1993 Updated 1 repo stars

File contents

lukasa1993/tanstack-skills-extracted commit 005e61f4b8

Frequently asked questions

npx get-skill add lukasa1993/tanstack-ai-core-custom-backend-integration