Try out the world's first micro-repo!
Learn More


Ask Copilot Shortcut, Gemini Support, and More! Pieces for Developers VS Code Extension 1.11.1, Obsidian Plugin 1.10.0, & JupyterLab Plugin 1.11.0

Pieces finished 2023 on a high note! Last year our user base showed impressive growth and we introduced innovative features across all our plugins, most notably the Pieces Copilot. As we start 2024, we're turning it up a notch to further minimize context switching, boost your efficiency, and transform your workflow.

In our first plugin release of the year, we're excited to announce new runtime support for Pieces Copilot, enhanced developer experience, and crucial bug resolutions. Let’s dive into the details 🏊

New Cloud Model Support: Gemini & OpenAI Keys

Exciting news for Pieces Copilot users: Google's Gemini LLM is now at your fingertips! This cutting-edge language model is designed to elevate your coding experience by providing smarter, more responsive interactions.

To tap into Gemini's advanced capabilities, simply click the "Copilot Runtime" button in the top right corner and select "Gemini" from the dropdown menu of cloud-based LLMs. Select the Gemini Pro Chat model and start using it for Pieces Copilot!

We’ll continue to add support for additional LLMs and even support for using your own LLM to power Pieces Copilot in the near future.

Selecting Gemini as your Pieces Copilot runtime in Pieces for VS Code.

As fine-tuned LLMs become more prevalent, we want to make sure that you can use any custom LLM to power Pieces Copilot, in addition to popular LLMs like GPT 4, Gemini, or Llama2.

In this release, we’re thrilled to introduce the first phase of our OpenAI integration to the plugins. Similar to the Pieces Desktop App, you can now add your own OpenAI API key to power the Pieces Copilot!

To access this feature, open the Pieces Copilot Runtime menu, navigate to the Cloud OpenAI models, and select “Manage Custom API Key.” This key will be used to power existing OpenAI Models in the Copilot Chat.

With this first version, you can add your personal or enterprise API key from OpenAI, allowing you to use your own quota and rate limits. In our next release, the platform will accommodate various “Bring your own model” scenarios, with a significant emphasis on supporting those who have fine-tuned GPT models based on their organizational or team-specific requirements.

The Custom OpenAI Key menu in Pieces.

New Shortcut for 'Ask Copilot'

We've introduced a new shortcut in Pieces for VS Code to enhance your workflow with the 'Ask Copilot about Selection' feature. Simply highlight the code you're curious about and press Ctrl+Shift+A (or Cmd+Shift+A on Mac) to bring up the prompt window. The selected code will automatically be included as context for your query to Pieces Copilot, streamlining your coding experience.

Several improvements to Pieces Copilot

We've implemented several key enhancements to the Pieces Copilot experience:

1. We've introduced a new stop icon for Pieces Copilot, giving you the control to halt the response generation at any time.

The stop generating icon in Pieces Copilot.

2. We implemented a more accurate download % while downloading a model.

3 .You can now delete a downloaded local LLM right from the Manage Runtime menu. To delete any of the downloaded LLMs, click on the trash icon to delete the model.

The interface to delete a local LLM in Pieces.

Critical Bug Fixes

We fixed several bugs to help improve the UX of these extensions:

  • We've upgraded Code Lens to seamlessly integrate with regular functions, enhancing its stability and broadening its utility. Now, you can enjoy a more reliable and consistent experience across all functions in the source code.
  • We've resolved the connection issue in Pieces for VS Code. Previously, a persistent loading icon would appear until a manual screen refresh. Now, once you're connected to your Pieces account, a logout button will immediately display, indicating a successful connection.

New & Improved User Support

We are excited to introduce our new community-driven support process! We have recently created a public Github repo where you can create issues to get assistance from us and other users, as well as join in on discussions to request features, show off something you’ve done lately with Pieces, and generally engage with us and the rest of the Pieces community.

Don’t worry— you can still reach out to us for individual assistance by filling out this quick form. Don’t forget to check out our extensive documentation as well!

Pieces ❤️ Open Source

Did you know Pieces has recently broken into the Open Source community? We recently launched support for our TypeScript SDK on NPM where developers around the world have started to build on top of the Pieces Platform and get familiar with our APIs.

With our SDKs, you can build your own apps, extend Pieces functionality, and so much more. Check out our GitHub to learn more about our Open Source initiatives and how you can start contributing today!

Join our Discord Server 🎉

Do you love Pieces? Stop sending us carrier pigeons 🐦 and join our Discord Server to chat with our team, other power users, get support, and more. 🤝

Interested in becoming a Pieces Content Partner?

Learn More
Other Updates