Buddycode Gpt: A Powerful Coding Companion

by EasyLight in Addons


What Sets BuddyCode GPT Apart


Seamless Integration

BuddyCode seamlessly integrates into your Blender workflow, providing a user-friendly interface directly within the Text Editor. Say goodbye to constant tab-switching and hello to uninterrupted coding sessions.


Effortless Organization

With BuddyCode, organizing your code files is a breeze. Navigate through your projects effortlessly with the built-in file browser, keeping your scripts tidy and accessible at all times.


Instant Code Generation

Need to create a new Python script? BuddyCode has you covered. Generate new files instantly with just a click, saving you time and hassle.


Smart Code Completion

Boost your productivity with BuddyCode’s intelligent code completion. Receive context-aware suggestions powered by advanced AI models, helping you write code faster and more efficiently.


Visual Inspiration

BuddyCode’s image processing feature. Incorporate visual cues into your coding process to spark new ideas and innovative solutions.


Effortless Sharing

Share code snippets seamlessly with the built-in clipboard functionality. Copy output text with a single click, streamlining collaboration and enhancing productivity.


LM Studio & Ollama Integration

BuddyCode harnesses the power of LM Studio and Ollama, free desktop apps, for its advanced AI-driven features. LM Studio and Ollama provide the underlying AI models required for BuddyCode’s intelligent code completion.


Download LM Studio here for free.

Download Ollama here for free.

Checkout the BUDDYCODE GPT Website here.


Experience the Difference with BuddyCode GPT

Unlock the full potential of Blender's Text Editor with BuddyCode by your side. Whether you're a seasoned developer or just starting out, BuddyCode is your go-to tool for smoother, more efficient coding sessions. Try BuddyCode today and take your Blender coding experience to new heights.


 Installation


1. *Download the Add-on Script: Obtain the add-on script from the source or repository.


2. Install the Add-on:

   - Launch Blender and navigate to `Edit > Preferences > Add-ons`.

   - Click on the "Install..." button.

   - Locate the downloaded add-on script and select it.

   - Once installed, ensure the add-on is enabled by checking the checkbox next to its name.


Usage


Accessing BuddyCode Features


1. Open the Text Editor :

   - In Blender's interface, locate the Text Editor workspace.


2.  BuddyCode Panel:

   - Within the Text Editor, you'll find a panel labeled "Buddy Code" located under the "BudyGPT" category.


 Getting Completion Suggestions


1.Input Text:

   - Enter your code or text into the input field labeled "Input Text" within the BuddyCode panel.


2. Fetching Suggestions:

   - Click the "Get Completion Suggestions" button to retrieve completion suggestions based on your input.


3. View Suggestions:

   - The completion suggestions will appear in the output area labeled "Completion Suggestions" within the BuddyCode panel.


4. Copying Suggestions:

   - Optionally, you can copy the output text to the clipboard by clicking the "Copy Output Text to Clipboard" button.


Managing Files and Folders


1. Folder Path:

   - Navigate to the folder path section to specify the directory for file operations.


2. Creating New Files and Folders:

   - Use the provided options to create new folders and Python files within the specified directory.


3. Renaming and Deleting:

   - Rename or delete existing folders directly from the BuddyCode panel.


4. Loading and Saving Files:

   - Load existing Python files into the Text Editor or save the current text buffer as a Python file.


Preferences


1. Endpoint URL:

   - Set the URL for the completion suggestions endpoint.


2. Server Type and Model Type:

   - Choose the server and model type for obtaining completion suggestions.


3. Enable Vision:

   - Toggle image vision processing on or off.


4. Image Path and CSV Path:

   - Specify paths for image files and CSV files if needed.


Additional Notes


- This add-on is still under development, and certain features may be subject to limitations or bugs.

- For advanced users, additional settings and functionalities are available through the preferences panel.


Installation Issues:

If you are facing a problem shown below for any module issue:


Traceback (most recent call last):

  File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 364, in enable

    mod = importlib.import_module(module_name)

  File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib\__init__.py", line 126, in import_module

    return _bootstrap._gcd_import(name[level:], package, level)

  File "", line 1050, in _gcd_import

  File "", line 1027, in _find_and_load

  File "", line 1006, in _find_and_load_unlocked

  File "", line 688, in _load_unlocked

  File "", line 883, in exec_module

  File "", line 241, in _call_with_frames_removed

  File "C:\Users\matth\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\BuddyCode.py", line 10, in

    from langchain_community.llms import ollama

ModuleNotFoundError: No module named 'langchain_community'


USE CHECK OUT THIS Youtube link:


https://www.youtube.com/watch?v=DSRha-8Zk8w&ab_channel=CGFigures


By CGFigures. I have use his codebase,tricks have also added it inside my own code for your convenience to solve this problem and it does solve it for me.


This is not a addon issue it how the packages are getting installed.


  • Step 1: Locate the AppData file in your "C" drive or where you have your programs installed.
  • Step 2: Find the site-packages folder
  • Step 3: check the blender console to check where the files are being downloaded.
  • Step 4: Copy all related module folders and paste them inside the site-packages folder.


For more INFO on this visit the link above. 


LM Studio & Ollama Integration

Before using BuddyCode GPT, ensure you have LM Studio and Ollama installed on your system.


LM Studio and Ollama provide the underlying AI models required for BuddyCode GPT's intelligent code completion features.


Running Models Locally

Enjoy hassle-free AI-powered code completion by running LM Studio and Ollama models locally on your machine.


Simply configure BuddyCode GPT to use the local endpoint URLs provided by LM Studio and Ollama, and experience lightning-fast completion suggestions without the need for internet connectivity.


Experience seamless AI-driven code completion by leveraging LM Studio and Ollama models directly on your local system, eliminating any potential hassles. The Free Addon provides you with LM Studio Integration ONLY! That is enough for you to get started. Rest is behind paywall so if you want future updates please feel free to buy the paid version since you will get integration with both LM Studio and Ollama Servers also the latest and greatest Updates!


Published 20 days ago
Blender Version 4.1, 4.0, 3.6, 3.5, 3.4
License Mit
Have questions before purchasing?

Contact the Creator with your questions right now.

Login to Message