Expose LLM usage in workflows (#21766)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
This commit is contained in:
parent
f925869f61
commit
816210d744
32 changed files with 201 additions and 81 deletions
|
|
@ -282,6 +282,11 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
|
|||
type='string'
|
||||
description={t(`${i18nPrefix}.outputVars.output`)}
|
||||
/>
|
||||
<VarItem
|
||||
name='usage'
|
||||
type='object'
|
||||
description={t(`${i18nPrefix}.outputVars.usage`)}
|
||||
/>
|
||||
{inputs.structured_output_enabled && (
|
||||
<>
|
||||
<Split className='mt-3' />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue