fix(chat): revert a2ui assistant ID to c-a2ui to match deployment#118
Merged
Conversation
The generative-ui system prompt instructed the LLM to produce JSON specs with a "rootKey" field, but the @json-render/core Spec type expects "root". RenderSpecComponent checks `spec()?.root` (line 50), so all LLM-generated specs silently failed to render. Fix: replace all occurrences of "rootKey" with "root" in the prompt. Updated both the source and the streaming deployment copy. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The a2ui Angular app used assistant ID 'c-a2ui' but the production /api proxy routes to the streaming LangGraph deployment, which registers the a2ui graph as 'a2ui_form'. This caused HTTP 422 "Invalid assistant" errors. Fix: update both environment files to use 'a2ui_form'. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
PR #117 changed the a2ui assistant ID from 'c-a2ui' to 'a2ui_form', but the production proxy (examples-middleware.ts) routes chat/a2ui requests to the standalone c-a2ui LangGraph deployment, whose langgraph.json registers the graph as 'c-a2ui'. Revert to 'c-a2ui' to match the deployed backend. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Summary
PR #117 changed the a2ui assistant ID from
c-a2uitoa2ui_form, but the production proxy routeschat/a2uito the standalonec-a2uiLangGraph deployment (not the consolidatedstreamingdeployment). The standalone deployment registers the graph asc-a2ui.Fix: Revert to
c-a2ui.🤖 Generated with Claude Code