Please remove mixed types from API

In Javascript or untyped languages, returning a string or an embedded object might not be a huge deal, but for strictly typed languages (like Golang), this creates a very clunky interface.

I am currently trying to make updates to the Community Go SDK to support the V2 of the Assistant API. I would like to say that creating a reasonable SDK that is easy and abstracted for the consumer is impossible because of the mixed types.

https://platform.openai.com/docs/api-reference/runs/object#runs/object-tool_choice

This is a nightmare to create an easy to consume SDK