Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarStark committed Oct 5, 2024
1 parent d1e1608 commit f64adff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Language/Llama.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private static function convertToPrompt(MessageBag $messageBag): string
continue;
}

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

return implode(PHP_EOL, $messages);
Expand Down

0 comments on commit f64adff

Please sign in to comment.