import { useTranslate } from '@/hooks/common-hooks'; import { Form, Input, Typography } from 'antd'; interface IProps { name?: string | string[]; } export function TavilyItem({ name = ['prompt_config', 'tavily_api_key'], }: IProps) { const { t } = useTranslate('chat'); return (