From 9adc0926cbde37d1f8c3f43676269801f1067126 Mon Sep 17 00:00:00 2001 From: Jack Zhang <32371937+jackzhxng@users.noreply.github.com> Date: Thu, 1 May 2025 15:47:35 -0700 Subject: [PATCH] Fix iOS app frontend build --- .../apple_ios/LLaMA/LLaMA/Application/ContentView.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/demo-apps/apple_ios/LLaMA/LLaMA/Application/ContentView.swift b/examples/demo-apps/apple_ios/LLaMA/LLaMA/Application/ContentView.swift index cc1567b3cde..f8b8a0eec1f 100644 --- a/examples/demo-apps/apple_ios/LLaMA/LLaMA/Application/ContentView.swift +++ b/examples/demo-apps/apple_ios/LLaMA/LLaMA/Application/ContentView.swift @@ -495,7 +495,6 @@ struct ContentView: View { var message = messages.removeLast() message.text += textToFlush message.text += message.text.isEmpty ? "Thinking...\n\n" : "\n\nThinking...\n\n" - message.format = .italic message.tokenCount += flushedTokenCount + 1 // + 1 for the start thinking token. message.dateUpdated = Date() messages.append(message) @@ -509,7 +508,6 @@ struct ContentView: View { var message = messages.removeLast() message.text += textToFlush message.text += "\n\nFinished thinking.\n\n" - message.format = .italic message.tokenCount += flushedTokenCount + 1 // + 1 for the end thinking token. message.dateUpdated = Date() messages.append(message)