| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Sorry, something went wrong.
Add the two backend overlays for the self-hosted template, selected with `--backend-framework`. - LangGraph: a standalone Agent Server in `src/agent/agent.ts` described by `langgraph.json`, with `/api/chat` acting as a browser-to-server proxy via `@openuidev/langchain`. `pnpm dev` runs the Agent Server and Next.js together; deploy the frontend to Vercel and point `LANGGRAPH_API_URL` at the Agent Server. - Vercel AI SDK: a `streamText()` route returning `toUIMessageStreamResponse()`, consumed by `vercelAIAdapter()`. The whole project deploys to Vercel as one Next.js app. - Both overlays drop the `openai` dependency, since the framework owns the provider client. - Add a shared `get_weather` example tool backed by Open-Meteo (no API key) so the selected framework's native multi-step tool loop is testable right after scaffolding. Migrated from PR #785 (visharad/th-2051-route-replacement). Co-Authored-By: Visharad Kashyap <154831195+vishxrad@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
What
Adds the LangGraph and Vercel AI SDK backend overlays for the self-hosted template.
Changes
Test Plan
Built the CLI and scaffolded both variants. Confirmed the route and page land, framework dependencies merge, openai is dropped, langgraph.json and src/agent/agent.ts ship for the LangGraph variant, and backends/ never leaks into the generated project.
Checklist