turns: never mistake an empty success for Annie
This commit is contained in:
parent
dfc72d7214
commit
7842c04053
3 changed files with 131 additions and 1 deletions
|
|
@ -537,6 +537,15 @@ Singleton {
|
|||
case "inference_strain":
|
||||
console.log(`[Souveraine] inference strain: attempt ${event.attempt}, status ${event.status}, model ${event.model}`);
|
||||
break;
|
||||
case "error":
|
||||
// A failed engine turn is still a visible answer from the
|
||||
// substrate. Silently dropping this event leaves the empty
|
||||
// assistant container behind and makes a healthy server look as
|
||||
// though the agent simply stopped speaking.
|
||||
root.appendToStreaming(
|
||||
Translation.tr("**Request failed** — %1").arg(event.message ?? Translation.tr("unknown turn error"))
|
||||
);
|
||||
break;
|
||||
case "atmosphere":
|
||||
case "outfit":
|
||||
case "itinerary":
|
||||
|
|
|
|||
Loading…
Reference in a new issue