Skip to content

Commit 71348a3

Browse files
committed
Remove logger von agent in chat examples
1 parent b876156 commit 71348a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/chat/persistent-chat-cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
$store = new CacheStore(new ArrayAdapter(), 'chat');
2525
$store->setup();
2626

27-
$agent = new Agent($platform, 'gpt-4o-mini', logger: logger());
27+
$agent = new Agent($platform, 'gpt-4o-mini');
2828
$chat = new Chat($agent, $store);
2929

3030
$messages = new MessageBag(

examples/chat/persistent-chat-session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
$store = new SessionStore($requestStack, 'chat');
3434
$store->setup();
3535

36-
$agent = new Agent($platform, 'gpt-4o-mini', logger: logger());
36+
$agent = new Agent($platform, 'gpt-4o-mini');
3737
$chat = new Chat($agent, $store);
3838

3939
$messages = new MessageBag(

0 commit comments

Comments
 (0)