Skip to content

feat(lexi-chat): generalize native-language hints beyond Vietnamese - #397

Merged
InfinityZero3000 merged 4 commits into
devfrom
codex/product-expansion-dev-ready
Aug 7, 2026
Merged

feat(lexi-chat): generalize native-language hints beyond Vietnamese#397
InfinityZero3000 merged 4 commits into
devfrom
codex/product-expansion-dev-ready

Conversation

@InfinityZero3000

Copy link
Copy Markdown
Owner

Summary

  • Rename the TraceCAG vietnamese_hint field to native_hint end-to-end (ai-service state/schemas/prompts, Flutter data source/entities/provider/UI), so the hint mechanism works for any configured native language, not just Vietnamese.
  • Add predefined ask-clarify hints in Vietnamese/Japanese/Korean/Chinese (falls back to English) instead of a hardcoded Vietnamese-only string.
  • Fix 2 stale references to the old field name left behind by the rename: the trace-cag-node-viz.html debug visualizer (was silently failing to render the hint) and an architecture.md example.
  • Includes a small local chore(claude) settings commit (enables a Claude Code plugin) picked up along with this branch.

Test plan

  • pytest ai-service/tests/trace_cag/test_native_language_hint.py ai-service/tests/test_integration_trace_cag.py ai-service/tests/trace_cag/test_edges_routing.py ai-service/tests/trace_cag/test_system_tracecag.py — 76/76 passed
  • flutter test test/features/lexi_chat/ — 15/15 passed
  • flutter analyze lib/features/lexi_chat lib/features/chat — no issues
  • Merged current dev in — no conflicts

🤖 Generated with Claude Code

InfinityZero3000 and others added 4 commits August 7, 2026 19:51
…_hint rename

trace-cag-node-viz.html (debug graph visualizer) and the architecture.md
example still read/showed the old field name, so the hint silently
stopped rendering in the visualizer after the previous commit's rename.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 7, 2026

Copy link
Copy Markdown

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

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
lexilingo-admin Ignored Ignored Aug 7, 2026 2:29pm
lexilingo-app Ignored Ignored Aug 7, 2026 2:29pm

@InfinityZero3000
InfinityZero3000 merged commit 39a2ced into dev Aug 7, 2026
11 checks passed
@InfinityZero3000
InfinityZero3000 deleted the codex/product-expansion-dev-ready branch August 7, 2026 14:42
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