This commit is contained in:
15
2025-06-23 14:01:51 +08:00
committed by GitHub
parent 43f5b21852
commit 3537088135

View File

@@ -10,7 +10,7 @@ import type { ToolWithProvider } from '../../types'
import { BlockEnum } from '../../types' import { BlockEnum } from '../../types'
import type { ToolDefaultValue, ToolValue } from '../types' import type { ToolDefaultValue, ToolValue } from '../types'
import { ViewType } from '../view-type-select' import { ViewType } from '../view-type-select'
import ActonItem from './action-item' import ActionItem from './action-item'
import BlockIcon from '../../block-icon' import BlockIcon from '../../block-icon'
import { useTranslation } from 'react-i18next' import { useTranslation } from 'react-i18next'
@@ -118,7 +118,7 @@ const Tool: FC<Props> = ({
{hasAction && !isFold && ( {hasAction && !isFold && (
actions.map(action => ( actions.map(action => (
<ActonItem <ActionItem
key={action.name} key={action.name}
provider={payload} provider={payload}
payload={action} payload={action}