Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TheKnarf opened this issue Feb 12, 2024 · 0 comments

Comments

@TheKnarf
Copy link

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
    }
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant