I get an error when I try to use gpt-4-turbo

Hi, I will try gpt-4-turbo by api , but I couldn’t.

-latest open ai library
-tier 1

If you know solution, please tell me.

If you know solution, please tell me.

Thanks!

You appear to be using some very old code, from at least before 2023-11. A large number of the AI models shown no longer exist.

Are you perhaps using Langchain (which contains a list of AI models)?

The solution will be to update this code that attempts to filter models names. Or better: write your own code to interact with the OpenAI API.

1 Like

thx, _j

As you know, I’m using Langchain .
I’ll change that.

Regards