{#each entries(labelsByLanguage) as [language, label]}
-
{/each}
-
{#if (snippetsByLang[lang]?.length ?? 0) > 1}
{#each snippetsByLang[lang] ?? [] as { client }, idx}
{@const isActive = idx === selectedSnippetIdxByLang[lang]}
{/each}
{/if}
{#if installInstructions}
{installInstructions.title}
Docs
{@html highlight(
installInstructions.content,
selectedSnippet?.language
)}
{/if}
{#if conversation.streaming}
Streaming API
{:else}
Non-Streaming API
{/if}
{@html highlight(
selectedSnippet?.content,
selectedSnippet?.language
)}