Commit 14f9fcb
docs: send Ask AI locale per-message to avoid stale transport
useChat keeps the first transport, so the locale baked into it went stale after
a language switch (retrieval stuck on the old locale). Send locale per-message
instead; transport is now stable.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent c311ea8 commit 14f9fcb
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
| |||
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
77 | | - | |
| 76 | + | |
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
| |||
0 commit comments