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

The model davinci has been deprecated #135

Open
micik opened this issue Mar 7, 2024 · 0 comments
Open

The model davinci has been deprecated #135

micik opened this issue Mar 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@micik
Copy link

micik commented Mar 7, 2024

Describe the bug

string(249) "{
"error": {
"message": "The model davinci has been deprecated, learn more here: https://platform.openai.com/docs/deprecations",
"type": "invalid_request_error",
"param": null,
"code": "model_not_found"
}
}
"

To Reproduce

$openAi = new OpenAi($apiKey);
$openAi->listModels();
$openAi->getCURLInfo();

Code snippets

No response

OS

Ubuntu

PHP version

7.4

Library version

^5.1

@micik micik added the bug Something isn't working label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant