22
33Pipet Code Agent is an AI-powered code assistance tool, built as an extension
44for Microsoft [ Visual Studio Code] ( https://code.visualstudio.com/ ) (VS Code).
5- Pipet uses the Google PaLM API to help you write code comments and review your
5+ Pipet uses the Google Gemini API to help you write code comments and review your
66code by adding commands to the command pallete of VS Code.
77
88![ pipet-code-agent] ( ./pipet-snippet.png )
99
1010Pipet is provided as a development project, so you must configure and build
1111it if you want to run it in your VS Code instance. For more information
1212about building, configuring, running, and extending this project, see the
13- [ Build AI Code Assistant with Pipet Code Agent] ( https://developers.generativeai. google/develop/sample-apps /pipet-code-agent ) tutorial.
13+ [ Build AI Code Assistant with Pipet Code Agent] ( https://ai. google.dev/examples /pipet-code-agent ) tutorial.
1414
1515## Project setup
1616
@@ -19,8 +19,8 @@ for development and testing. The general steps are Installing some prerequisite
1919software, setting a few environment variables, cloning the project from the code
2020repository, and running the configuration installation.
2121
22- Note: You need a Google PaLM API Key to be able to run the project, which you
23- can obtain from the [ Google PaLM API] ( https://developers.generativeai. google/tutorials/setup ) page.
22+ Note: You need a Google Gemini API Key to be able to run the project, which you
23+ can obtain from the [ Google Gemini API] ( https://ai. google.dev /tutorials/setup ) page.
2424
2525### Install the prerequisites
2626
@@ -64,7 +64,7 @@ You should now be able to test your installation by running Pipet Code Agent as
6464a development extension in VS Code on your device. The test opens a separate VS
6565Code ** Extension Development Host** window where the new extension is available.
6666In this new window, you configure the API Key the extension uses to access the
67- Google PaLM API.
67+ Google Gemini API.
6868
6969To configure and test your setup:
7070
@@ -76,13 +76,13 @@ To configure and test your setup:
76761 . Run the extension in debug mode by selecting ** Run > Start Debugging** .
7777 This step opens a separate VS Code ** Extension Development Host** window.
78781 . Open the VS Code settings by selecting ** Code > Settings > Settings** .
79- 1 . Get a [ Google PaLM API Key] ( https://developers.generativeai. google/tutorials/setup )
79+ 1 . Get a [ Google Gemini API Key] ( https://ai. google.dev /tutorials/setup )
8080 from the Generative AI Developer site, and copy the key string.
81811 . Set the API key as a configuration setting. In ** Search Settings**
82- field, type ` pipet ` , select the ** User** tab, and in the ** Google > Palm:
82+ field, type ` pipet ` , select the ** User** tab, and in the ** Google > Gemini
8383 Api Key** setting, click the ** Edit in settings.json** link, and add your
84- PaLM API key:\
85- ` "google.palm .apiKey": "your-api-key-here" `
84+ Gemini API key:\
85+ ` "google.gemini .apiKey": "your-api-key-here" `
86861 . Save the changes to the ` settings.json ` file and close the settings tabs.
8787
8888** Caution:** Treat your API Key like a password and protect it appropriately. Don't
@@ -100,4 +100,4 @@ To test the extension commands:
100100## Resources
101101
102102- Project code tutorial:
103- [ Build AI Code Assistant with Pipet Code Agent] ( https://developers.generativeai. google/develop/sample-apps /pipet-code-agent ) tutorial.
103+ [ Build AI Code Assistant with Pipet Code Agent] ( https://ai. google.dev/examples /pipet-code-agent ) tutorial.
0 commit comments