Skip to main content

Bug: Ask ChatGPT - Invalid Parameters

For example, max_tokens is required, but it’s not a valid parameter. 400 error that instructs to use max_completion_tokens instead.

Status: Completed4 comments

Log in to comment and vote

Comments4

  • mazaalai dev

    Team•

    Apr 22, 2025

    @Kenneth Snyder FYI - the bug has been fixed. Sorry for the inconvenience.

    • Kenneth Snyder

      •

      Apr 22, 2025

      That’s outstanding. I appreciate the great support and look forward to trying it out.

  • mazaalai dev

    Team•

    Apr 22, 2025

    @Kenneth Snyder
    We’ve fixed the issue by replacing the deprecated max_tokens withmax_completion_tokens. Everything should work fine now

  • mazaalai dev

    Team•

    Apr 18, 2025

    @turtuvshin byambaa hey champ, could you please look into it?