Cursor and Updated OpenAI API Documentation

Hey All,

Forgive me if I’m missing something obvious, but it doesn’t seem like any of the models I use through Cursor have up-to-date OpenAI API documentation, specifically the realtime API. I tried adding the site as a documentation source through the IDE, but it’s getting a javascript error when trying to access it programmatically (which isn’t surprising considering the API documentation site). My best idea now is to try to convert the documentation to markdown format and then just include that in the context, but figured I’d ask here to see if anyone has found a better solution.

Thanks!
-Paul

I ran this operation through Operator and watched the operations and realized that it used the GitHub repo with the OpenAI Python API documentation as opposed to the playground site, which actually makes a lot more sense. Cursor is able to search that site and use the documentation correctly, so this issue has been resolved. I decided to leave up this post and risk looking like a dumbass in the hopes that maybe it helps someone else.