Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.
This repository was archived by the owner on May 15, 2026. It is now read-only.

"Failed to enhance prompt" with GPT-5 models; "completePrompt" not supported #7334

Closed

Description

@nico-buescher

App Version

3.25.21

API Provider

OpenAI

Model Used

gpt-5-nano-2025-08-07

Roo Code Task Links (Optional)

No response

🔁 Steps to Reproduce

  1. Set GPT-5 Nano as the model to be used for prompt enhancing
  2. Click on "Enhance Prompt"

💥 Outcome Summary

Using any one of the new GPT-5 models for prompt enhancement fails, in general. Neither the model nor the reasoning effort make a difference.

Image

I was able to find the cause in the vscode console (see below). Roo Code seems to use a specific field / parameter "completePrompt" for enhancing the prompt, that the error message says isn't supported by the GPT-5 models.

📄 Relevant Logs or Errors (Optional)

[Extension Host] Error enhancing prompt: {
  "stack": "Error: OpenAI Native completion error: completePrompt is not supported for gpt-5-nano-2025-08-07. Use createMessage (Responses API) instead.\n    at Jur (/home/nico/.vscode/extensions/rooveterinaryinc.roo-cline-3.25.21/core/webview/webviewMessageHandler.ts:1418:13)",
  "message": "OpenAI Native completion error: completePrompt is not supported for gpt-5-nano-2025-08-07. Use createMessage (Responses API) instead."
}

Activity

  1. added
    bug
    on Aug 22, 2025
  2. ghost added a commit that references this issue on Aug 22, 2025
    6af1f2f
  3. added
    Issue/PR - Triage
    on Aug 22, 2025
  4. moved this from Triage to Issue [In Progress] in Roo Code Roadmapon Aug 23, 2025
  5. added
    Issue - In Progress
    and removed
    Issue/PR - Triage
    on Aug 23, 2025
  6. daniel-lxs commented on Aug 25, 2025

    @daniel-lxs
    Member

    Thank you @nlbuescher for reporting this, this issue should be fixed by #7067

  7. moved this from Issue [In Progress] to Done in Roo Code Roadmapon Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In Progressbug

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions