refac
This commit is contained in:
1 parent
a43d98965b
commit
1eef5b4f6a
1 file changed
+6
@@ -449,6 +449,7 @@
|
|||||||
<div class=" text-xs text-gray-500">{$i18n.t('Type')}</div>
|
<div class=" text-xs text-gray-500">{$i18n.t('Type')}</div>
|
||||||
|
|
||||||
<div class="">
|
<div class="">
|
||||||
|
{#if !direct}
|
||||||
<button
|
<button
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
type = ['', 'openapi'].includes(type) ? 'mcp' : 'openapi';
|
type = ['', 'openapi'].includes(type) ? 'mcp' : 'openapi';
|
||||||
@@ -463,6 +464,11 @@
|
|||||||
<span class="text-gray-500">{$i18n.t('Streamable HTTP')}</span>
|
<span class="text-gray-500">{$i18n.t('Streamable HTTP')}</span>
|
||||||
{/if}
|
{/if}
|
||||||
</button>
|
</button>
|
||||||
|
{:else}
|
||||||
|
<div class="text-xs text-gray-700 dark:text-gray-300">
|
||||||
|
{$i18n.t('OpenAPI')}
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in new issue
Block a user