openai-go
openai-go copied to clipboard
Implicit ignore of omitempty struct tags
Just a thought, but it may be worthwhile to add a note on structured outputs (docs & codebase) in that if your struct tags have omitempty that the openai-go api will silently ignore them and the model will not populate that field.
Chased my tail on this one for a while. Is there a way to specify to not ignore omitempty tags?