We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf08292 commit 02d3446Copy full SHA for 02d3446
Sources/CompilerSwiftAI/UI/Chat/ChatBubble.swift
@@ -49,7 +49,7 @@ struct ChatBubble: View {
49
case .streaming(let partial):
50
return partial
51
case .complete:
52
- return message.content
+ return message.apiContent
53
}
54
55
Sources/CompilerSwiftAI/UI/Chat/ChatView/ChatViewModel.swift
@@ -198,7 +198,7 @@ class ChatViewModel: Transcribable {
198
var chunkCount = 0
199
for try await partialMessage in stream {
200
chunkCount += 1
201
- accumulated = partialMessage.content
+ accumulated = partialMessage.apiContent
202
203
// Log each chunk size
204
self.logger.log("Chunk #\(chunkCount): partial content size=\(accumulated.count). Updating streaming message.")
0 commit comments