Skip to content

[codex] align chat thread title generation#511

Merged
blove merged 2 commits into
mainfrom
codex/chat-title-generation
May 21, 2026
Merged

[codex] align chat thread title generation#511
blove merged 2 commits into
mainfrom
codex/chat-title-generation

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 21, 2026

Summary

  • extend inline generate_title thread-title generation to all cockpit chat Python graphs
  • align the canonical chat demo with cockpit by replacing first-message slicing with an LLM-backed terminal generate_title node
  • update the canonical backend tests and smoke checklist for LLM-generated metadata.title

Root Cause

Only chat/threads and chat/a2ui had the cockpit inline-title pattern. The canonical chat demo still used an older helper that sliced the first user message before response generation, so thread titles differed from the cockpit app behavior.

Validation

  • /opt/homebrew/bin/uv run pytest -q in examples/chat/python -> 46 passed, 1 LangGraph deprecation warning
  • python3 -m py_compile cockpit/chat/*/python/src/graph.py examples/chat/python/src/graph.py
  • direct Vitest contract: cockpit/chat/footprint.spec.ts -t "wires inline thread-title generation" -> passed

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

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

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment May 21, 2026 5:57pm

Request Review

@blove blove enabled auto-merge (squash) May 21, 2026 17:51
@blove blove merged commit 56c0695 into main May 21, 2026
2 checks passed
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