Skip to main content
This cookbook includes quickstart, multi-turn chat, and personify pages. Quickstart and chat use the OpenAI-compatible provider base URL; personify calls the native JSON endpoint.

Local setup

.env.local

Included routes

RoutePurpose
GET /Quickstart UI
GET /chatMulti-turn chat UI
GET /personifyNative personify UI
POST /api/quickstartCompletion sample
POST /api/chatNon-stream chat exchange
POST /api/personifyNative personify rewrite

Key notes

  • Uses Vercel AI SDK provider setup with ThinkFeel’s OpenAI-compatible base URL.
  • ThinkFeel completions are non-stream. The UI expects complete reply responses.
  • ThinkFeel personify uses the native /api/v1/personify JSON endpoint.
  • Tool-calling and some OpenAI parameters remain unsupported.
  • Error responses are grouped as validation, config, or provider errors.
  • If overriding THINKFEEL_BASE_URL for this OpenAI-compatible cookbook, include /api/v1.
  • For ThinkFeel SDK or CLI setup, use the origin only.
  • Legacy CURVE_* environment names remain fallback-only.
  • New setup should use THINKFEEL_* names.