Skip to content

Commit 68b8efd

Browse files
committed
Do not pass system msg with image
Groq doesn't support it.
1 parent 27ac681 commit 68b8efd

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

content/_index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ use transformrs::Provider;
8181
#[tokio::main]
8282
async fn main() {
8383
let messages = vec![
84-
Message::from_str("system", "You are a helpful assistant."),
8584
Message::from_str("user", "Describe this image in one sentence."),
8685
// To pass a local image, use `Message::from_image_bytes`, for example:
8786
// Message::from_image_bytes("user", "jpeg", include_bytes!("sunset.jpg")),

0 commit comments

Comments
 (0)