Send message modified to only allow List[MessageCreate] instead of Union[List[Message], List[MessageCreate]]
Get messages modified to be a Union over special types that have names, instead of just a union of Message and LettaMessageUnion
Related error for (2):
Could not infer a name for the union variant.
openapi:2382Schema/CannotInferUnionVariantName
The name for a union variant is inferred from
* a model definition
* a title property on a schema
OpenAPI: #›paths›/v1/agents/{agent_id}/messages›get›responses›200›content›application/json›schema›anyOf›0
Fix issues w/ autogenerated SDK workflow
API changes:
List[MessageCreate]
instead ofUnion[List[Message], List[MessageCreate]]
Union
over special types that have names, instead of just a union ofMessage
andLettaMessageUnion
Related error for (2):