Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Core/Sources/ConversationTab/ChatPanel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ struct ChatPanelMessages: View {
}
} else {
Task {
// Scoll to bottom when `isReceiving` changes to `false`
// Scroll to bottom when `isReceiving` changes to `false`
if pinnedToBottom {
await Task.yield()
withAnimation(.easeInOut(duration: 0.1)) {
Expand Down
4 changes: 2 additions & 2 deletions Core/Sources/ConversationTab/ConversationTab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class ConversationTab: ChatTab {

// Get chat tab title. As the tab title is always "Chat" and won't be modified.
// Use the chat title as the tab title.
// TODO: modify tab title dynamicly
// TODO: modify tab title dynamically
public func getChatTabTitle() -> String {
return chat.title
}
Expand Down Expand Up @@ -157,7 +157,7 @@ public class ConversationTab: ChatTab {
let service = ChatService.service(for: chatTabInfo)
let tab = ConversationTab(service: service, store: store, with: chatTabInfo)

// lazy restore converstaion tab for not selected
// lazy restore conversation tab for not selected
if chatTabInfo.isSelected {
tab.restoreIfNeeded()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ struct InputAreaTextEditor: View {
await onTypedMessageChanged(newValue: newValue)
}
}
/// When chat mode changed, the chat tamplate and agent need to be reloaded
/// When chat mode changed, the chat template and agent need to be reloaded
.onChange(of: chat.isAgentMode) { _ in
guard isEditorActive else { return }
Task {
Expand Down