diff --git a/public/scripts/reasoning.js b/public/scripts/reasoning.js index d475ca3f9..891a95326 100644 --- a/public/scripts/reasoning.js +++ b/public/scripts/reasoning.js @@ -493,7 +493,7 @@ export class ReasoningHandler { data = null; } - if (this.type !== ReasoningType.Model) { + if (this.type && this.type !== ReasoningType.Model) { title += ` [${translate(this.type)}]`; title = title.trim(); }