Skip to content

fix(chat): revert a2ui assistant ID to c-a2ui to match deployment#118

Merged
blove merged 3 commits into
mainfrom
claude/condescending-sanderson
Apr 12, 2026
Merged

fix(chat): revert a2ui assistant ID to c-a2ui to match deployment#118
blove merged 3 commits into
mainfrom
claude/condescending-sanderson

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented Apr 12, 2026

Summary

PR #117 changed the a2ui assistant ID from c-a2ui to a2ui_form, but the production proxy routes chat/a2ui to the standalone c-a2ui LangGraph deployment (not the consolidated streaming deployment). The standalone deployment registers the graph as c-a2ui.

Fix: Revert to c-a2ui.

🤖 Generated with Claude Code

blove and others added 3 commits April 11, 2026 20:32
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>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment Apr 12, 2026 5:58am

Request Review

@blove blove merged commit 2507904 into main Apr 12, 2026
14 checks passed
blove added a commit that referenced this pull request Apr 12, 2026
The a2ui proxy routes to the standalone c-a2ui LangGraph deployment
which registers the graph as 'c-a2ui'. PR #117 changed this to
'a2ui_form' and the squash merge of PR #118 failed to restore it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
blove added a commit that referenced this pull request Apr 12, 2026
The a2ui proxy routes to the standalone c-a2ui LangGraph deployment
which registers the graph as 'c-a2ui'. PR #117 changed this to
'a2ui_form' and the squash merge of PR #118 failed to restore it.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@blove blove deleted the claude/condescending-sanderson branch May 7, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant