Describe the bug
When upgrading OpenAI repo to new TCGC version, we're getting an issue where the same anonymous unions in different models are not getting generated names but collapse into an unnamed type, causing duplicate client name error. These seem to happen to unions in models referenced in other unions/@event decorator
Reproduction
Example 1
Example 2
Checklist