fix(tool): standardize tool naming across components

- Updated references from `trigger_name` to `tool_name` in multiple components for consistency.
- Adjusted type definitions to reflect the change in naming convention, enhancing clarity in the codebase.
This commit is contained in:
Harry
2025-09-10 20:33:39 +08:00
parent ec33b9908e
commit e9e843b27d
7 changed files with 7 additions and 12 deletions

View File

@ -118,7 +118,7 @@ const ToolSelector: FC<Props> = ({
provider_name: tool.provider_id,
provider_show_name: tool.provider_name,
type: tool.provider_type,
tool_name: tool.trigger_name,
tool_name: tool.tool_name,
tool_label: tool.tool_label,
tool_description: tool.tool_description,
settings: settingValues,