Spaces:
Sleeping
Sleeping
code
Browse files37 unmodified lines3839404142434419 unmodified lines646566676869707172737475767737 unmodified lines}`;</script><div class="pt-2"><divclass="border-b border-gray-200 text-center text-sm font-medium text-gray-500 dark:border-gray-700 dark:text-gray-400">19 unmodified lines<h2 class="font-semibold">Install and instantiate</h2></div><preclass="overflow-x-auto border-y border-gray-100 bg-gray-50 px-4 py-6 text-sm dark:border-gray-800 dark:bg-gray-800/50">{npmSnippet}</pre><div class="px-4 pb-4 pt-6"><h2 class="font-semibold">{streaming ? 'Streaming API' : 'Non-Streaming API'}</h2></div><preclass="overflow-x-auto border-y border-gray-100 bg-gray-50 px-4 py-6 text-sm dark:border-gray-800 dark:bg-gray-800/50">{streaming? streamingSnippet: nonStreamingSnippet}</pre>37 unmodified lines3839404142434419 unmodified lines646566676869707172737475767737 unmodified lines}`;</script><div class="px-2 pt-2"><divclass="border-b border-gray-200 text-center text-sm font-medium text-gray-500 dark:border-gray-700 dark:text-gray-400">19 unmodified lines<h2 class="font-semibold">Install and instantiate</h2></div><preclass="overflow-x-auto rounded-lg border border-gray-100 bg-gray-50 px-4 py-6 text-sm dark:border-gray-800 dark:bg-gray-800/50">{npmSnippet}</pre><div class="px-4 pb-4 pt-6"><h2 class="font-semibold">{streaming ? 'Streaming API' : 'Non-Streaming API'}</h2></div><preclass="overflow-x-auto rounded-lg border border-gray-100 bg-gray-50 px-4 py-6 text-sm dark:border-gray-800 dark:bg-gray-800/50">{streaming? streamingSnippet: nonStreamingSnippet}</pre>
src/lib/components/Playground/PlaygroundCode.svelte+3-3