Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 76f32fc

Browse files
committed
-
1 parent e57188b commit 76f32fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Language/Llama.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private static function convertToPrompt(MessageBag $messageBag): string
4747
continue;
4848
}
4949

50-
$messages[] = sprintf('%s: %s', ucfirst($message->getRole()->value), $message->content[0]->text);
50+
$messages[] = sprintf('%s: %s', ucfirst($message->getRole()->value), $content);
5151
}
5252

5353
return implode(PHP_EOL, $messages);

0 commit comments

Comments
 (0)