Prompt Message Validation Errors: Are User Messages Required?
Trying to create a prompt with gemini without a user message fails:
2 validation errors for PromptMessage\ncontent.str\n Input should be a valid string [type=string_type, input_value=D, input_type=list] \n For further information visit https://errors.pydantic.dev/2.12/v/string_type\ncontent.list[tagged- union[TextContentPart,ToolCallContentPart,ToolResultContentPart]] List should have at least 1 item after validation, not O [type=too_short, input_value=D, input_type=list]\n For further information visit https://errors.pydantic.dev/2.12/v/too_short
are user messages always required? I thought a system message without a user message was a valid api call. I suppose that may depend on the provider
