Skip to content

This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?' #43

@TheKnarf

Description

@TheKnarf

With config:

{
  "model": "gpt-3.5-turbo",
  "temperature": 0.5,
  "maxTokens": 2048
}

I get the following error message:

  data: {
    error: {
      message: 'This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?',
      type: 'invalid_request_error',
      param: 'model',
      code: null
    }
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions