Gezinmeyi atla
🔥 💻 🎥 How to provide o1 Pro with your FULL CODEBASE through the ChatGPT Cursor connection
0:00 / 6:14

🔥 💻 🎥 How to provide o1 Pro with your FULL CODEBASE through the ChatGPT Cursor connection

Dan McAteer

@daniel_mac832 B takipçi

X profili
498 beğeniİndirOrijinal gönderi

99.802 görüntüleme

🔥 💻 🎥 How to provide o1 Pro with your FULL CODEBASE through the ChatGPT Cursor connection yesterday I recorded a video connecting o1 Pro to Cursor through the ChatGPT Desktop app more than one person commented on how limiting it is for o1 Pro to only have access to a single open file in Cursor here's a walkthrough of how you can provide o1 Pro with your FULL CODEBASE as context instead of just a single file: 1. Write a Python function that concatenates full codebase into a single snapshot in a .txt file (link in comment) 2. Open that "codebase_snapshot.txt" in a separate Cursor pane 3. Go to the ChatGPT app and ask it what context it has access to through Cursor - should say it has two files with one of them being the codebase snapshot and boom there ya go. o1 Pro has access to everything in your codebase full walkthrough here 👇

11 Yorum

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

  • Dan Mac profil fotoğrafı

    @daniel_mac8

    Python script to create snapshot:

    20 beğeni

  • The Canaanite profil fotoğrafı

    @mysticaltech

    You can use this too

    15 beğeni

  • Dan Mac profil fotoğrafı

    @daniel_mac8

    nice thank you!

    2 beğeni

  • echo.hive profil fotoğrafı

    @hive_echo

    You have cracked the code to banger posts(🙌): 1- useful (preferably as quickly as possible) 2- applicable (preferably quickly) 3- unique/interesting This is just my principles I have been forming slowly( so I can adhere to them more often) and doesn’t include entertainment/philosophy and other domains

    10 beğeni

  • Dan Mac profil fotoğrafı

    @daniel_mac8

    thanks Echo! also I've gotten plenty of inspiration from your posts and the cool things you do in Cursor I'd add a 4th thing to the list which is it seems like its more compelling if it's something you actually care about and connected to your own project btw - at the end there I mentioned that I want the Cursor Agent to automatically call the create_code_snapshot func after making any changes. any chance you know how to do that?

    2 beğeni

  • The Canaanite profil fotoğrafı

    @mysticaltech

    Also, helps do that too, more selectively.

    8 beğeni

  • Dan Mac profil fotoğrafı

    @daniel_mac8

    yea I like repoprompt advantage of this approach is you can do it programmatically as you’re making changes without going into a separate UI

    4 beğeni

  • mkn profil fotoğrafı

    @meekunv2

    try npx ai-digest[ , i have found it very useful for grabbing the codebase context if needed, there are also bunch of flags that you can use to customize the output of it great post by the way, very helpful!

    5 beğeni

  • Dan Mac profil fotoğrafı

    @daniel_mac8

    nice - thank you for sharing!

    1 beğeni

  • Jay Ghiya profil fotoğrafı

    @BeLikeBumblebee

    We are working towards oss context in a true graph fashion . You could try - . We are in alpha but already able to export entire codebase in json .

    4 beğeni

  • Dan Mac profil fotoğrafı

    @daniel_mac8

    very cool - I'll check this out. thanks for sharing

    1 beğeni