세션 계약 SSOT 정리
This commit is contained in:
parent
1881fe50bd
commit
17b114f647
8 changed files with 43 additions and 47 deletions
|
|
@ -587,7 +587,7 @@ export default function Session() {
|
|||
setStage(detail.stage);
|
||||
setOpenness(detail.effective_openness);
|
||||
setUtterances(
|
||||
detail.turns.map((turn) => ({
|
||||
(detail.turns ?? []).map((turn) => ({
|
||||
id: nextId(),
|
||||
speaker: turn.speaker === "client" ? "client" : "learner",
|
||||
text: turn.text,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue