Repository navigation
Templates: make LangGraph Chat Completions the base starter - #1322
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
AbhinRustagi
added this pull request to stack #1323
October 8, 2026 08:32
AbhinRustagi
force-pushed
the
codex/templates-langgraph-chat-completions
branch
from
October 8, 2026 08:35
fe94f56 to
8f927c6
Compare
AbhinRustagi
force-pushed
the
codex/templates-langgraph-chat-completions
branch
from
October 8, 2026 08:45
8f927c6 to
50f6138
Compare
AbhinRustagi
removed this pull request from stack #1323
October 8, 2026 08:52
AbhinRustagi
force-pushed
the
codex/templates-langgraph-chat-completions
branch
from
October 8, 2026 08:52
50f6138 to
5f551d0
Compare
AbhinRustagi
added this pull request to stack #1324
October 8, 2026 08:53
AbhinRustagi
removed this pull request from stack #1324
October 8, 2026 08:53
AbhinRustagi
force-pushed
the
codex/templates-langgraph-chat-completions
branch
from
October 8, 2026 09:08
5f551d0 to
e7939f1
Compare
AbhinRustagi
changed the base branch from
main
to
codex/server-langgraph-history
October 8, 2026 09:08
AbhinRustagi
force-pushed
the
codex/templates-langgraph-chat-completions
branch
from
October 8, 2026 09:10
e7939f1 to
6501195
Compare
AbhinRustagi
force-pushed
the
codex/templates-langgraph-chat-completions
branch
from
October 8, 2026 10:22
9a5c684 to
88843de
Compare
abhithesys
previously approved these changes
Oct 8, 2026
AbhinRustagi
enabled auto-merge (squash)
October 8, 2026 11:26
abhithesys
approved these changes
Oct 8, 2026
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LangGraph now lives directly in each base template's source, dependencies, and lockfile. Removes the old SDK-only implementation and LangGraph overlays. The CLI defaults to LangGraph; Vercel AI SDK and Eve remain overlays and remove unused LangGraph files/dependencies.
The Cloud LangGraph route uses Chat Completions and the new
storeLangGraphHistoryhelper. Its afterAgent middleware persists the complete new turn in one call after success: user message, assistant messages, tool calls and results. Replayed history is excluded. Failed or stopped generation is not persisted. Self-hosted persistence stays app-owned.Uses the published @openuidev/server 0.1.1 package from #1325. The Cloud template lockfile pins the registry release with its integrity hash; Vercel overlay lockfiles remain intact. #1321 is independent and based directly on main.
Validation: server and CLI checks passed; all six template/framework combinations scaffold; the Cloud template type-checks against the local new server build. An actual LangGraph stream with mocked provider/storage transports exercised a two-step weather tool loop, verified the complete new turn was saved in a single call before stream completion, and checked that failed generation makes no storage call and missing-thread validation. Live Gateway calls were not tested.