37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
<div className={styles.chooseModel}>
|
|
<Select className="choose-model"
|
|
onChange={(value) => chooseModel(value)}
|
|
options={modelOptionList}
|
|
style={{
|
|
width: "100%",
|
|
border: "none",
|
|
borderRadius: "10px",
|
|
}}
|
|
value={currentModel?.value}
|
|
/>
|
|
{/* <Button style={{float:"right",marginLeft:"auto"}}
|
|
type="text"
|
|
icon={menuCollapsed ? <MenuUnfoldOutlined /> : <MenuFoldOutlined />}
|
|
onClick={toggleMenuCollapsed}
|
|
/> */}
|
|
</div>
|
|
|
|
|
|
<Button
|
|
key={item?.key}
|
|
onClick={handleNewChat}
|
|
type="primary"
|
|
className={styles.functionMenuItem}
|
|
icon={<PlusOutlined />}
|
|
block
|
|
>
|
|
新对话
|
|
</Button>
|
|
|
|
|
|
.choose-model .ant-select-selector {
|
|
border: none !important;
|
|
background-color: #f3f4f5 !important;
|
|
box-shadow: none !important;
|
|
border-radius: 10px !important;
|
|
} |