feat: add LLMSelect (#1270)

### What problem does this PR solve?

feat: add LLMSelect #918 

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-06-25 12:09:07 +08:00
committed by GitHub
parent b75bb1d8d3
commit d1ea429bdd
4 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,23 @@
import { Popover, Select } from 'antd';
import LlmSettingItems from '../llm-setting-items';
const LLMSelect = () => {
const content = (
<div>
<LlmSettingItems handleParametersChange={() => {}}></LlmSettingItems>
</div>
);
return (
<Popover content={content} trigger="click" placement="left" arrow={false}>
{/* <Button>Click me</Button> */}
<Select
defaultValue="lucy"
style={{ width: '100%' }}
dropdownStyle={{ display: 'none' }}
/>
</Popover>
);
};
export default LLMSelect;