fix: voice answers no longer wait behind chat answers; late chat answers are dropped
- The voice worker writes voice and chat replies in separate lanes (one of each at a time), so a chat answer being written never holds up a voice answer. Tests: a voice reply finishes while a chat reply is still running; replies of one kind stay one at a time. - A chat answer arriving 5 minutes or more after it was asked is not posted, checked when it arrives. - Specs: the lanes, and that Strata needs --parallel 2 for both lanes' LLM calls to run at once until the app starts Strata itself (M5). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -132,10 +132,13 @@ never takes the voice turn and never goes through the response policy.
|
||||
- Only a request is answered: a stop in chat ("자비스 멈춰") is not a question and gets no answer.
|
||||
- The brain answers through `reply` with `via: "chat"` and `speak: false`; the answer is posted in the
|
||||
same channel as a Discord reply to the message (so the history records it as an answer to that
|
||||
person), pinging nobody. A failed or empty answer posts nothing. Answers waited for over 5 minutes
|
||||
are forgotten.
|
||||
- Known limit: the worker writes one reply at a time, so a voice answer waits while a chat answer is
|
||||
being written (the LLM's parallel requests for "answer everything" channels are M5/M6 settings).
|
||||
person), pinging nobody. A failed or empty answer posts nothing. An answer that arrives 5 minutes or
|
||||
more after it was asked is not posted.
|
||||
- The worker writes voice and chat answers in separate lanes (`voice_worker.spec.md`), so a voice
|
||||
answer never waits behind a chat answer. For the two to run at the same time the LLM must take two
|
||||
requests at once (`docs/v2/conversation.md`, "LLM 동시 요청 수"): until the app starts Strata itself
|
||||
(M5), Strata is started with `--parallel 2` when some channel answers everything; with
|
||||
`--parallel 1` the two lanes' LLM calls take turns at Strata.
|
||||
|
||||
## The conversation loop
|
||||
|
||||
|
||||
Reference in New Issue
Block a user