We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d2689 commit cfa6b80Copy full SHA for cfa6b80
tests/ChatHistory/InMemoryChatHistoryTest.php
@@ -153,7 +153,7 @@ public function test_regular_messages_are_removed_when_context_window_exceeded()
153
154
// With the context window of 1000, we should have fewer than 5 messages
155
$this->assertCount(8, $this->chatHistory->getMessages());
156
- $this->assertEquals(800, $this->chatHistory->calculateTotalUsage());
+ $this->assertEquals(825, $this->chatHistory->calculateTotalUsage());
157
}
158
159
public function test_remove_intermediate_invalid_message_types(): void
0 commit comments