- Skip non-image files when converting file objects to prompt message content. - Ensures only image files are processed, improving the accuracy and relevance of prompt messages.