Skip to content

Commit 1fd7e15

Browse files
authored
Fix iOS app frontend build (#10634)
1 parent e4386c5 commit 1fd7e15

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

examples/demo-apps/apple_ios/LLaMA/LLaMA/Application/ContentView.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,6 @@ struct ContentView: View {
495495
var message = messages.removeLast()
496496
message.text += textToFlush
497497
message.text += message.text.isEmpty ? "Thinking...\n\n" : "\n\nThinking...\n\n"
498-
message.format = .italic
499498
message.tokenCount += flushedTokenCount + 1 // + 1 for the start thinking token.
500499
message.dateUpdated = Date()
501500
messages.append(message)
@@ -509,7 +508,6 @@ struct ContentView: View {
509508
var message = messages.removeLast()
510509
message.text += textToFlush
511510
message.text += "\n\nFinished thinking.\n\n"
512-
message.format = .italic
513511
message.tokenCount += flushedTokenCount + 1 // + 1 for the end thinking token.
514512
message.dateUpdated = Date()
515513
messages.append(message)

0 commit comments

Comments
 (0)