Hacker News new | ask | show | jobs
by cj 924 days ago
FYI, from OpenAI

> Most models that support the legacy Completions endpoint will be shut off on January 4th, 2024.

1 comments

Thanks for the heads up, although the legacy shut-off won't affect this script.

Not sure if it's clear from the post or not, but this script uses the newer, recommended, `v1/chat/completions` endpoint rather than the deprecated `v1/completions` endpoint

Gotcha! Didn’t realize there was a new one to replace the legacy.