Okapi Okapi

Redpill POST /v1/completions endpoint removal

Deprecated, no dateSubscribe to RedpillShare

Redpill has deprecated POST /v1/completions without a shutdown date. Redpill notes that this endpoint is legacy and requests to it will eventually fail. The change directly hits all callers relying on the legacy completions route.


Calls it hits

  • POST /v1/completions

What to use instead of these calls

Call POST /v1/chat/completions instead.

In Redpill's words

This endpoint is legacy. Use Chat completions instead for better results.

Redpill, Announcement

Facts

API
Redpill api.redpill.ai
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Redpill's own pages

Questions

When does this change take effect?

Redpill deprecated POST /v1/completions without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Redpill has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to Redpill

Hear about each breaking change Redpill announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Redpill

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.