Fix undefined translation

This commit is contained in:
Wolfsblvt
2025-02-27 21:15:12 +01:00
parent 94441c54ae
commit b98556855d

View File

@ -493,7 +493,7 @@ export class ReasoningHandler {
data = null; data = null;
} }
if (this.type !== ReasoningType.Model) { if (this.type && this.type !== ReasoningType.Model) {
title += ` [${translate(this.type)}]`; title += ` [${translate(this.type)}]`;
title = title.trim(); title = title.trim();
} }