From a14c9caa9232527479f70080a3d7da3f77252568 Mon Sep 17 00:00:00 2001 From: Timm Friebe Date: Sun, 3 Nov 2024 21:23:30 +0100 Subject: [PATCH] Show how to send a text prompt --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f36c29e..9e4f850 100755 --- a/README.md +++ b/README.md @@ -327,7 +327,7 @@ $api->transmit([ 'item' => [ 'type' => 'message', 'role' => 'user', - 'content' => $content, + 'content' => [['type' => 'input_text', 'text' => $message]], ] ]);