Skip to content

OpenAI 404/400 errors #6089

@alanmead

Description

@alanmead

Describe the bug

Out of the box, Goose doesn't work with OpenAI models. Trying to follow "goose in 5 minutes" using OpenAI. All models I've tried (babbage, gpt-4o, codex, o3, gpt-5, gpt-5.1, etc; see below) report 404 or 400 errors.

EDIT: Some details were reported wrong because I didn't realize that model choice was sticky in a session. I've corrected them.

codex:

Ran into this error: Request failed: Resource not found (404): This model is only supported in v1/responses and not in v1/chat/completions..

gpt-4o, babbage:

Ran into this error: Request failed: Resource not found (404): tools is not supported in this model. For a list of supported models, refer to https://platform.openai.com/docs/guides/function-calling#models-supporting-function-calling..

I edited the OpenAI configuration and changed the endpoint to v1/responses and this enabled a new set of models. I tried several (gpt-4o-mini, o3, gpt-5). This endpoint requires a different JSON payload that is not produced by Goose:

Ran into this error: Request failed: Bad request (400): Unsupported parameter: 'messages'. In the Responses API, this parameter has moved to 'input'. Try again with the new parameter. See the API documentation for more information: https://platform.openai.com/docs/api-reference/responses/create..


To Reproduce
Steps to reproduce the behavior:

  1. Generate a new OpenAI API key
  2. Configure provider (accept defaults), use default model (gpt-4o)
  3. Enter any prompt, like: create an interactive browser-based tic-tac-toe game in javascript where a player competes against a bot
  4. See error
  5. Configure provider, change endpoint to 'v1/responses', use default model (gpt-4o)
  6. Enter any prompt, like: create an interactive browser-based tic-tac-toe game in javascript where a player competes against a bot
  7. See error
  8. Switch models (either from list of custom)
  9. Enter any prompt, like: create an interactive browser-based tic-tac-toe game in javascript where a player competes against a bot
  10. See error

Expected behavior
It seems like Goose should work with OpenAI models.


Please provide the following information

  • OS & Arch: Fedora 43 x86
  • Interface: UI
  • Version: v1.16.1
  • Extensions enabled: Default (Chatrecall, Developer, Extension Manager, Skills, Todo)
  • Provider & Model: See above (multiple OpenAI on two endpoints)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions