Generation is ignoring the ref docs I @ mentioned

This seems like a bug. I added the openai documentation and the api details in github and I @ mentioned both docs but the generated code is still using pre-1.0.0 code like “import openai” and “”.

Are these custom docs you’ve created? Or existing public docs?

The official OpenAI docs are already in Cursor. I manually added the url to the python library details in github.

Looking into this now.

+1 for the ‘official’ openai docs being useless. cursor trying to give me code to use “davinci-004” when i ask for gpt-4 api code.

same here but this is a model issue

This is a bug on our end for a few docs, should be fixed in the next 2 days!

1 Like