Skip to content

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

@nlbuescher

Description

@nlbuescher

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."
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions