wwf
3 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
app/components/app/configuration/config/agent-setting-button.tsx
@@ -2,9 +2,9 @@
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 = {
@@ -25,8 +25,8 @@
  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 && (