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="">
|
||||
{#if !direct}
|
||||
<button
|
||||
on:click={() => {
|
||||
type = ['', 'openapi'].includes(type) ? 'mcp' : 'openapi';
|
||||
@@ -463,6 +464,11 @@
|
||||
<span class="text-gray-500">{$i18n.t('Streamable HTTP')}</span>
|
||||
{/if}
|
||||
</button>
|
||||
{:else}
|
||||
<div class="text-xs text-gray-700 dark:text-gray-300">
|
||||
{$i18n.t('OpenAPI')}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user