diff --git a/web/frontend/src/pages/chat/ChatSettings.jsx b/web/frontend/src/pages/chat/ChatSettings.jsx new file mode 100644 index 00000000..5b65c6d6 --- /dev/null +++ b/web/frontend/src/pages/chat/ChatSettings.jsx @@ -0,0 +1,145 @@ +import { useId, useState } from 'react'; +import { Button, Select, SideSheet, Spin, Tag, Typography } from '@douyinfe/semi-ui'; +import { useResource } from '../../components/hooks'; +import { ErrorBanner, toastError } from '../../components/ui'; +import { api } from '../../lib/http'; +import { useT } from '../../lib/i18n'; +import { REASONING_EFFORTS, REASONING_MODES } from './useModelPreferences'; + +const { Text } = Typography; + +function SettingSelect({ label, ...props }) { + const id = useId(); + return ( +
+ {label} +