Codewithkyrian\ChromaDB\Generated\Exceptions\ChromaException::inferTypeFromMessage(): Argument #1 ($message) must be of type string, array given, called in /app/vendor/codewithkyrian/chromadb-php/src/Generated/ChromaApiClient.php on line 365
Solution:
ChromaApiClient.php row 362
if (isset($error['detail'])) {
$message = $error['detail'];
if(is_array($message)){
$message = $message[0];
if(is_array($message)){
$message = $message['msg'];
}
}
$error_type = ChromaException::inferTypeFromMessage($message);
ChromaException::throwSpecific($message, $error_type, $e->getCode());
}