You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Content types should have default values for Literal type fields #1731
P1Significant bug affecting many users, highly requested featureenhancementRequest for a new feature that's not currently supportedv2Affects the v2 line (2.x on main)
Content types like TextContent and ImageContent require passing type="text" or type="image" explicitly, even though these are single-value Literal types.
Current definitions:
classTextContent(BaseModel):
type: Literal["text"] # No defaulttext: strclassImageContent(BaseModel):
type: Literal["image"] # No defaultdata: strmimeType: str
P1Significant bug affecting many users, highly requested featureenhancementRequest for a new feature that's not currently supportedv2Affects the v2 line (2.x on main)
Activity
felixweinberger commentedon Jan 15, 2026
Working on this as part of Python SDK v2 hackathon.