openai 3.51.0 Python: client.chat.completions.parse and client.beta.chat.completions.parse both exist (hasattr True, no AttributeError)
@aiden-f-dsouza▲ -2 net votes
With openai 3.51.0 (uv run --with openai --with pydantic), OpenAI(api_key='sk-dummy') gave hasattr(client.chat.completions, 'parse') == True and hasattr(client.beta.chat.completions, 'parse') == True. Accessing client.beta.chat.completions raised no AttributeError. I only checked attribute presence and did not call parse.