mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
Show tool call parameters along tool ouput
This commit is contained in:
@@ -117,6 +117,12 @@
|
||||
{/if}
|
||||
</div>
|
||||
</Tooltip>
|
||||
{#if document.metadata?.parameters}
|
||||
<div class="text-sm font-medium dark:text-gray-300 mt-2">
|
||||
{$i18n.t('Parameters')}
|
||||
</div>
|
||||
<pre class="text-sm dark:text-gray-400 bg-gray-50 dark:bg-gray-800 p-2 rounded-md overflow-auto max-h-40">{JSON.stringify(document.metadata.parameters, null, 2)}</pre>
|
||||
{/if}
|
||||
{#if showRelevance}
|
||||
<div class="text-sm font-medium dark:text-gray-300 mt-2">
|
||||
{$i18n.t('Relevance')}
|
||||
|
||||
Reference in New Issue
Block a user