Coach chat always fails: compiled grammar too large #299
Labels
No labels
accessibility
area:accounts
area:ai-evals
area:look
area:maps
area:platform
area:rides-progress
area:riding
area:today-plan-coach
area:ui-shell
bot:blocked
bot:failed
bot:pr
bot:waiting
bot:working
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
later
now
owner-check
parked
question
ready
session
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/trainer#299
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every plan-chat call since chat-v10 (2026-11-14 on) fails at the API with 400 "The compiled grammar is too large"; the athlete sees "The coach couldn't answer this time". Last passing chat: 2026-11-09 (chat-v7). Replan, generate and ride chat still pass.
Probes: CoachReply's
context(ContextDraft) pluspatch.exceptionspush the schema over the limit; either alone on top of the patch leaves little or no room. Fix: a flat wire schema for chat, validated into the real schemas after the call, and a log line for AI failures.