Hi, just found this repo & included in my project - noticed that you have restricted content top be a string. Is there a reason behind that?
I've had issues using a basic cURL iteration of a PHP SDK package for Anthropic as it won't format the JSON as a list correctly..
I may try modify it locally to allow an object like below:
['role' => 'user', 'content' => [ [ 'type' => 'image', 'source' => [ 'type' => 'base64', 'media_type' => $image1_media_type, 'data' => $image1_data ], ], [ 'type' => 'text', 'text' => $text ]