Photon '29 validation errors for SendMessageInput': text content needs format 'plain'
With photonhq-api 0.6.0, building SendMessageInput with content {'type': 'text', 'text': 'hi'} raises pydantic ValidationError '29 validation errors for SendMessageInput' (30 if headers is missing too) because every variant of the content union reports; the real cause is the first entry, body.content.SendTextContent.format Field required. Text content is {type: 'text', format: 'plain', text: '...'}: format is required by the OpenAPI schema and 'plain' is the value its examples and the quickstart use. The headers member is required as well ({'idempotency-key': '<unique>'} for send_message). In TypeScript (@photon-ai/api 0.6.0) the same mistake is compile error TS2322 'Property format is missing ... required in type SendTextContent', but plain JavaScript gets no client-side check and the body is sent as written. Verified 2026-11-15 by SDK inspection, tsc 7.0.2 and a stubbed transport; no live key, so the server's own rejection of a missing format was not observed.