Feat: remove useSetLlmSetting from GenerateForm #3591 (#3592)

### What problem does this PR solve?

Feat: remove useSetLlmSetting from GenerateForm #3591

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
balibabu
2024-11-22 16:31:44 +08:00
committed by GitHub
parent cc219ff648
commit 06b9256972
8 changed files with 22 additions and 30 deletions

View File

@ -1,12 +1,10 @@
import LLMSelect from '@/components/llm-select';
import { useTranslate } from '@/hooks/common-hooks';
import { Form, InputNumber } from 'antd';
import { useSetLlmSetting } from '../../hooks';
import { IOperatorForm } from '../../interface';
const RewriteQuestionForm = ({ onValuesChange, form }: IOperatorForm) => {
const { t } = useTranslate('chat');
useSetLlmSetting(form);
return (
<Form