Skip to content

Commit a914377

Browse files
Marco van AngerenMarco van Angeren
authored andcommitted
added streamable interface to mongodb store
1 parent df20332 commit a914377

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/chat/src/Bridge/MongoDb/MessageStore.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Symfony\AI\Chat\ManagedStoreInterface;
1616
use Symfony\AI\Chat\MessageNormalizer;
1717
use Symfony\AI\Chat\MessageStoreInterface;
18+
use Symfony\AI\Chat\StreamableStoreInterface;
1819
use Symfony\AI\Platform\Message\MessageBag;
1920
use Symfony\AI\Platform\Message\MessageInterface;
2021
use Symfony\Component\Serializer\Encoder\JsonEncoder;
@@ -27,7 +28,7 @@
2728
/**
2829
* @author Guillaume Loulier <[email protected]>
2930
*/
30-
final class MessageStore implements ManagedStoreInterface, MessageStoreInterface
31+
final class MessageStore implements ManagedStoreInterface, MessageStoreInterface, StreamableStoreInterface
3132
{
3233
public function __construct(
3334
private readonly Client $client,

0 commit comments

Comments
 (0)