• There is some issue when I try using Open AI models.
    I get the message: Connection failed: Unsupported parameter: ‘max_tokens’ is not supported with this model. Use ‘max_completion_tokens’ instead.

    This error occurs because you are targeting a newer OpenAI or Azure OpenAI model (such as the o1, o3, o4, or GPT-5 series) that has deprecated the legacy max_tokens parameter. These newer reasoning and advanced models require max_completion_tokens instead.

    Please update the plugin.
    Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Support Yas G

    (@yasg)

    Hi @jack_sparrow,

    Thanks for reporting this and for the clear explanation.

    You are right – newer OpenAI models no longer accept the legacy max_tokens parameter and require max_completion_tokens instead. I will review the plugin’s OpenAI integration and update it so it works correctly with the newer models.

    I’m also looking into improving the plugin’s AI integration more broadly, but the immediate priority is to fix this compatibility issue.

    I will update this thread once I have a fix available.

    Thanks again for the report.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.