| | |
| | | import type { FC } from 'react' |
| | | import React, { useState } from 'react' |
| | | import { useTranslation } from 'react-i18next' |
| | | import { RiSettings2Line } from '@remixicon/react' |
| | | import AgentSetting from './agent/agent-setting' |
| | | import Button from '@/app/components/base/button' |
| | | import { Settings01 } from '@/app/components/base/icons/src/vender/line/general' |
| | | import type { AgentConfig } from '@/models/debug' |
| | | |
| | | type Props = { |
| | |
| | | |
| | | return ( |
| | | <> |
| | | <Button onClick={() => setIsShowAgentSetting(true)} className='mr-2 shrink-0'> |
| | | <RiSettings2Line className='mr-1 h-4 w-4 text-text-tertiary' /> |
| | | <Button onClick={() => setIsShowAgentSetting(true)} className='shrink-0 mr-2'> |
| | | <Settings01 className='mr-1 w-4 h-4 text-gray-500' /> |
| | | {t('appDebug.agent.setting.name')} |
| | | </Button> |
| | | {isShowAgentSetting && ( |