Skip to content

fix: keep title generation behind chat API controls - #1561

Merged
gr2m merged 3 commits into
mainfrom
codex/vuln-12095-server-only-title-generation
Nov 3, 2026
Merged

gr2m merged 3 commits into
mainfrom
codex/vuln-12095-server-only-title-generation

Conversation

@gr2m

@gr2m gr2m commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Extract chat-title generation into a server-only helper. Limit title prompts to 2,000 characters across all text parts.

Validation:

  • Lint passes after removing the introduced unit tests and their runner/CI step.
  • Source TypeScript checks and Next.js production compilation passed for the unchanged application code.
  • The previous CI run passed all 23 Playwright tests and the preview deployment.

The full local build has an existing route-export validation error. The Playwright workflow has an existing cache-cleanup failure after its tests pass; the same cleanup failure occurs on main.

@vercel

vercel Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
chatbot Ready Ready Preview, v0 Nov 3, 2026 12:30am UTC

@gr2m
gr2m merged commit 8d7ac18 into main Nov 3, 2026
7 of 9 checks passed
@gr2m
gr2m deleted the codex/vuln-12095-server-only-title-generation branch November 3, 2026 00:29

This branch was successfully deployed

1 active deployment
Preview – chatbot — 457fe224 Deployed Nov 3, 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.

2 participants