mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
refactor: rename model instance extraction method to improve clarity and update related logic in LLMQuotaLayer; enhance unit tests for model instance handling
This commit is contained in:
@ -140,7 +140,7 @@ const NodePanel: FC<Props> = ({
|
||||
size={inMessage ? 'xs' : 'sm'}
|
||||
className={cn('mr-2 shrink-0', inMessage && '!mr-1')}
|
||||
type={nodeInfo.node_type}
|
||||
toolIcon={nodeInfo.extras as string | { content: string, background: string } | undefined}
|
||||
toolIcon={((nodeInfo.extras as { icon?: string } | undefined)?.icon || nodeInfo.extras) as string | { content: string, background: string } | undefined}
|
||||
/>
|
||||
<Tooltip
|
||||
popupContent={
|
||||
|
||||
Reference in New Issue
Block a user