From 2922e507560d60e2f278288f49a18719951863fb Mon Sep 17 00:00:00 2001 From: Christopher Hertel Date: Sat, 25 Oct 2025 01:48:21 +0200 Subject: [PATCH] Fix Mistral multi chat example --- examples/mistral/chat-multiple.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/mistral/chat-multiple.php b/examples/mistral/chat-multiple.php index 03ff427a3..ae731fc6e 100644 --- a/examples/mistral/chat-multiple.php +++ b/examples/mistral/chat-multiple.php @@ -26,6 +26,6 @@ 'n' => 10, ]); -foreach ($result->asStream() as $key => $choice) { +foreach ($result->getResult()->getContent() as $key => $choice) { echo sprintf('Choice #%d: %s', ++$key, $choice->getContent()).\PHP_EOL; }