Files
DeepTutor/deeptutor/core
Rimcat-JA f5b288912d fix(turn): accept a blank answer_by so "Ask Dito" side chats start
The web client restates answer_by on every turn and sends "" when Dito
answers (sideChatTurnConfig, QuizFollowupContext). TurnRequest only
accepted an omitted value or partner:/subagent:, so every Dito side chat
failed with "Command does not match the turn protocol."

Read a blank value as None. The field stays in fields_set, so
to_payload() still carries it and the stored hand-off is cleared as the
client intends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 01:49:07 +09:00
..
2026-09-06 13:46:29 +08:00