Skip to content

Commit

Permalink
Merge pull request #123 from allenai/unused-variable
Browse files Browse the repository at this point in the history
Removed unused variable
  • Loading branch information
jonryser authored Dec 19, 2024
2 parents 1b8ed4e + 7e711b6 commit 7b20fcc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions OLMoE.swift/Views/ChatView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ public struct ChatView: View {

@ViewBuilder
private func chatBubble(for chat: Chat, at index: Int, parentWidth: CGFloat) -> some View {
// Consider a message recent if it's part of the latest user-bot exchange
let isRecentBubble = index >= history.count - 2
Group {
switch chat.role {
case .user:
Expand Down

0 comments on commit 7b20fcc

Please sign in to comment.