1 parent 3a67130 commit 25d8d4cCopy full SHA for 25d8d4c
1 file changed
Tool/Sources/ChatAPIService/Memory/AutoManagedChatMemory.swift
@@ -10,10 +10,10 @@ public enum AutoManagedChatMemoryActor: GlobalActor {
10
}
11
12
protocol AutoManagedChatMemoryStrategy {
13
- func countToken(_ message: ChatMessage) async -> Int
+ func countToken(_ message: ChatMessage) async
14
15
16
-/// A memory that automatically manages the history according to max tokens and max message count.
+/// A memory that automatically manages the history according to no max tokens and no max message count.
17
public actor AutoManagedChatMemory: ChatMemory {
18
public struct ComposableMessages {
19
public var systemPromptMessage: ChatMessage
0 commit comments