Skip to content

Commit 79fc1b1

Browse files
authored
Merge pull request #818 from Portkey-AI/feat/help
Fix: Updated public folder to be copied to bin
2 parents 6413d12 + 3422d9a commit 79fc1b1

File tree

6 files changed

+332
-35
lines changed

6 files changed

+332
-35
lines changed

package-lock.json

Lines changed: 118 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"jest": "^29.7.0",
6666
"prettier": "3.2.5",
6767
"rollup": "^4.9.1",
68+
"rollup-plugin-copy": "^3.5.0",
6869
"ts-jest": "^29.2.4",
6970
"tsx": "^4.7.0",
7071
"typescript-eslint": "^8.1.0",

public/index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,25 @@
1313
<link rel="stylesheet" href="styles/interative-code.css">
1414
<link rel="stylesheet" href="styles/style.css">
1515

16+
<!-- Google Tag Manager -->
17+
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
18+
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
19+
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
20+
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
21+
})(window,document,'script','dataLayer','GTM-KX3PMNVR');</script>
22+
<!-- End Google Tag Manager -->
23+
1624
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css"> -->
1725
<link rel="stylesheet" href="https://unpkg.com/[email protected]/styles/atom-one-light.css">
1826
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
1927
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/confetti.browser.min.js"></script>
2028
</head>
2129

2230
<body>
31+
<!-- Google Tag Manager (noscript) -->
32+
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KX3PMNVR"
33+
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
34+
<!-- End Google Tag Manager (noscript) -->
2335
<header>
2436
<div class="container">
2537
<div class="logo">
@@ -72,6 +84,8 @@ <h2>1. Let's make a test request</h2>
7284
<pre><code id="pythonCommand" class="language-python"></code></pre>
7385
</div>
7486
</div>
87+
<!-- Add docs links based on the provider selected -->
88+
<div class="docs-link"></div>
7589
<button class="btn" id="testRequestBtn">
7690
<span class="btn-text">Test Request</span>
7791
</button>
@@ -257,6 +271,11 @@ <h3>Select Provider</h3>
257271
<option value="groq">Groq</option>
258272
<option value="bedrock">Bedrock</option>
259273
<option value="azure-openai">Azure OpenAI</option>
274+
<option value="cohere">Cohere</option>
275+
<option value="together-ai">Together AI</option>
276+
<option value="perplexity-ai">Perplexity AI</option>
277+
<option value="mistral-ai">Mistral AI</option>
278+
<option value="others">Others</option>
260279
</select>
261280
</div>
262281
</div>

0 commit comments

Comments
 (0)