Skip to content

New OpenAI GPT model doesn’t have some parameters required on intergration #158842

@SJang1

Description

@SJang1

The problem

The newest GPT-5.2 model tested, top_p which is required on hassio is not available on OpenAI api for that model, having error returned

What version of Home Assistant Core has the issue?

core-2025.12.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

openai_conversation

Link to integration documentation on our website

https://www.home-assistant.io/integrations/openai_conversation

Diagnostics information

No response

Example YAML snippet

Anything in the logs that might be useful for us?

logger: homeassistant.components.openai_conversation
source: components/openai_conversation/entity.py:660

Error talking to OpenAI: Error code: 400 - {'error': {'message': "Unsupported parameter: 'top_p' is not supported with this model.", 'type': 'invalid_request_error', 'param': 'top_p', 'code': None}}

Additional information

https://platform.openai.com/docs/models/gpt-5.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions