Skip to content

Commit 8d4e901

Browse files
authored
Merge pull request #1 from daniel24lee/daniel24lee-patch-1
2 parents 3a67130 + 25d8d4c commit 8d4e901

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tool/Sources/ChatAPIService/Memory/AutoManagedChatMemory.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ public enum AutoManagedChatMemoryActor: GlobalActor {
1010
}
1111

1212
protocol AutoManagedChatMemoryStrategy {
13-
func countToken(_ message: ChatMessage) async -> Int
13+
func countToken(_ message: ChatMessage) async
1414
}
1515

16-
/// A memory that automatically manages the history according to max tokens and max message count.
16+
/// A memory that automatically manages the history according to no max tokens and no max message count.
1717
public actor AutoManagedChatMemory: ChatMemory {
1818
public struct ComposableMessages {
1919
public var systemPromptMessage: ChatMessage

0 commit comments

Comments
 (0)