{"id":10226,"date":"2024-07-02T19:47:13","date_gmt":"2024-07-02T17:47:13","guid":{"rendered":"https:\/\/via-internet.de\/blog\/?p=10226"},"modified":"2024-07-02T19:56:28","modified_gmt":"2024-07-02T17:56:28","slug":"add-copilot-functionality-to-vscode-with-open-source-tools","status":"publish","type":"post","link":"https:\/\/via-internet.de\/blog\/2024\/07\/02\/add-copilot-functionality-to-vscode-with-open-source-tools\/","title":{"rendered":"Add CoPilot functionality to VSCode with Open Source tools"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The\u00a0<a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=GitHub.copilot\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub Copilot<\/a>\u00a0extension is an AI pair programmer tool that helps you write code faster and smarter.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We want to use this feature with Open Source Tools:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/ollama.com\/\">Ollama<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=Continue.continue\">VS Code Extension<\/a> <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=Continue.continue\">Continue<\/a><\/li>\n\n\n\n<li>Phi3 Model<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Setup<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Install Ollama<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Download <a href=\"https:\/\/ollama.com\/download\">Ollama<\/a> and install it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To start Ollama, you have two possibilities:<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">From the command line<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"163\" src=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.49.42-1024x163.png\" alt=\"\" class=\"wp-image-10231\" srcset=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.49.42-1024x163.png 1024w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.49.42-300x48.png 300w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.49.42-768x122.png 768w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.49.42-1536x244.png 1536w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.49.42-2048x326.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Using the Icon from the Installation<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">With MacOS, you could start Ollama<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"64\" src=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.50.28.png\" alt=\"\" class=\"wp-image-10232\" srcset=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.50.28.png 576w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.50.28-300x33.png 300w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You should the the runnning Ollama instance in the header<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"116\" height=\"52\" src=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.50.43.png\" alt=\"\" class=\"wp-image-10235\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Pull Phi3 Model<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">ollama pull phi3<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"148\" src=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.55.41-1024x148.png\" alt=\"\" class=\"wp-image-10236\" srcset=\"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.55.41-1024x148.png 1024w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.55.41-300x43.png 300w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.55.41-768x111.png 768w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.55.41-1536x221.png 1536w, https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.55.41-2048x295.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Install VS Code<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Install <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=Continue.continue\">VS Code Extension<\/a> <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=Continue.continue\">Continue<\/a><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Start Model<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\">Configure VS Code Extension<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The\u00a0GitHub Copilot\u00a0extension is an AI pair programmer tool that helps you write code faster and smarter.\u00a0 We want to use this feature with Open Source Tools: Setup Install Ollama Download Ollama and install it. To start Ollama, you have two possibilities: From the command line Using the Icon from the Installation With MacOS, you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":10228,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[164,84],"tags":[],"class_list":["post-10226","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ollama","category-visual-studio-code"],"jetpack_featured_media_url":"https:\/\/via-internet.de\/blog\/wp-content\/uploads\/2024\/07\/Bildschirmfoto-2024-07-02-um-19.45.46.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/10226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/comments?post=10226"}],"version-history":[{"count":5,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/10226\/revisions"}],"predecessor-version":[{"id":10260,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/posts\/10226\/revisions\/10260"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/media\/10228"}],"wp:attachment":[{"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/media?parent=10226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/categories?post=10226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/via-internet.de\/blog\/wp-json\/wp\/v2\/tags?post=10226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}