add github copilot
This commit is contained in:
parent
160b06f9d0
commit
15fa2c01f0
|
@ -1093,6 +1093,7 @@
|
|||
<div class="site-description">
|
||||
<p class="platform-hint">Choose your AI platform</p>
|
||||
<div class="platform-pills">
|
||||
<button class="platform-tag" data-platform="github-copilot" data-url="https://github.com/copilot">ChatGPT</button>
|
||||
<button class="platform-tag" data-platform="chatgpt" data-url="https://chat.openai.com">ChatGPT</button>
|
||||
<button class="platform-tag" data-platform="claude" data-url="https://claude.ai/new">Claude</button>
|
||||
<button class="platform-tag" data-platform="perplexity" data-url="https://perplexity.ai">Perplexity</button>
|
||||
|
@ -1756,6 +1757,9 @@
|
|||
let url;
|
||||
|
||||
switch (platform.dataset.platform) {
|
||||
case 'github-copilot':
|
||||
url = `${baseUrl}?prompt=${encodeURIComponent(promptText)}`;
|
||||
break;
|
||||
case 'chatgpt':
|
||||
url = `${baseUrl}?prompt=${encodeURIComponent(promptText)}`;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue