Skip to content

fix(examples): migrate autofix and storage to server client - #1311

Closed
AbhinRustagi wants to merge 2 commits into
abhin/autofix-responses-evefrom
codex/server-client-examples
Closed

AbhinRustagi wants to merge 2 commits into
abhin/autofix-responses-evefrom
codex/server-client-examples

Conversation

@AbhinRustagi

@AbhinRustagi AbhinRustagi commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Migrates the Autofix example and the booking-assistant, conversational-analytics, and document-comparison cookbooks to the unified @openuidev/server client.

  • Autofix uses createClient() and openUIClient.openai.completions.autofix.stream, with the generated library supplied per operation.
  • The cookbooks persist turns through openUIClient.openai.completions.conversations.appendMessages. Partial-turn persistence after cancellation/failure and the existing tool loops are preserved.
  • READMEs and history-loader comments reflect the new calls; the Autofix README no longer references a nonexistent helper file.

Separate example migration PR, outside the #1301 → #1231 stack so it can be merged later. Its branch remains based on #1231 to keep the example-only diff; all changes are preserved. The tool-executor PR #1302 is also outside the stack.

Release dependency: This PR is draft because the current published @openuidev/server@0.1.0 does not export createClient. Before marking ready, publish the client release and update the four examples’ server dependency pins and both lockfiles. The current pins are retained rather than fabricating a registry version or integrity hash.

Validation: all four examples passed their pnpm run verify commands in isolated copies under tests/server-client-examples, using the packed server SDK from #1231 (deb56f0103bba3bd626676efa7932bd5d770980a) and its matching lang-core package. All four production builds and TypeScript checks passed; the Autofix example also passed ESLint. No production requests or tool execution were performed for these example checks.

@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
openui-docs Ready Ready Preview Oct 7, 2026 8:08am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 7c6d50dd Deployed Oct 7, 2026 by vercel[bot]
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