Skip to content

feat(agent): add Codex chat backend - #166

Open
andylizf wants to merge 1 commit into
mainfrom
feat/codex-chat-backend
Open

andylizf wants to merge 1 commit into
mainfrom
feat/codex-chat-backend

Conversation

@andylizf

@andylizf andylizf commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Claude authentication failures left production chat unable to answer requests. Add a selectable Codex CLI backend that uses the existing search and screenshot tools and preserves the /chat SSE interface. Claude remains the default; the production systemd drop-in selects Codex using the service account’s existing login.

The Codex adapter supports uploaded images, conversation history, tool-call limits, disconnect cancellation, and request timeouts. Deployment now restarts the agent when its runtime modules change, and documentation covers configuration and rollback.

Validation:

  • All 12 Node tests passed, including MCP protocol/tool invocation, schema validation, cancellation, timeout, uploaded-image handling, and process startup failure.
  • JavaScript syntax, shell syntax, and Git whitespace checks passed.
  • Production https://pixelrag.ai/api/chat completed a Chinese question with a search, two screenshot tiles, a cited answer, and a done event.
  • Production health reports backend: codex; retrieval readiness is healthy.

@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
web Ready Ready Preview Oct 1, 2026 7:08am UTC

This branch was successfully deployed

1 active deployment
Preview — d050a9b9 Deployed Oct 1, 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