We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca4651f commit abe149aCopy full SHA for abe149a
1 file changed
src/stores/chat.ts
@@ -113,7 +113,7 @@ function hasNonToolAssistantContent(message: RawMessage | undefined): boolean {
113
}
114
115
116
- const msg = message as Record<string, unknown>;
+ const msg = message as unknown as Record<string, unknown>;
117
if (typeof msg.text === 'string' && msg.text.trim()) return true;
118
119
return false;
0 commit comments