Skip to main content
Use TanStack AI when you want type-safe chat flows in React, Solid, Preact, Vue, Svelte, or server-side TypeScript.

Install

Configure the adapter

Notes

  • Declare the Phaseo model ids you plan to use in the models array.
  • The OpenAI-compatible adapter defaults to Chat Completions. Use direct API calls for Responses-only features.
  • If a model does not support tools or images in your workflow, declare narrower capabilities in TanStack AI so TypeScript catches unsupported calls earlier.
Last modified on July 26, 2026